com.pulumi.aws.pipes.outputs.PipeLogConfigurationCloudwatchLogsLogDestination Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.pipes.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class PipeLogConfigurationCloudwatchLogsLogDestination {
/**
* @return Amazon Web Services Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.
*
*/
private String logGroupArn;
private PipeLogConfigurationCloudwatchLogsLogDestination() {}
/**
* @return Amazon Web Services Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.
*
*/
public String logGroupArn() {
return this.logGroupArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PipeLogConfigurationCloudwatchLogsLogDestination defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String logGroupArn;
public Builder() {}
public Builder(PipeLogConfigurationCloudwatchLogsLogDestination defaults) {
Objects.requireNonNull(defaults);
this.logGroupArn = defaults.logGroupArn;
}
@CustomType.Setter
public Builder logGroupArn(String logGroupArn) {
if (logGroupArn == null) {
throw new MissingRequiredPropertyException("PipeLogConfigurationCloudwatchLogsLogDestination", "logGroupArn");
}
this.logGroupArn = logGroupArn;
return this;
}
public PipeLogConfigurationCloudwatchLogsLogDestination build() {
final var _resultValue = new PipeLogConfigurationCloudwatchLogsLogDestination();
_resultValue.logGroupArn = logGroupArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy