com.pulumi.aws.opensearchingest.outputs.PipelineLogPublishingOptionsCloudwatchLogDestination 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.opensearchingest.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class PipelineLogPublishingOptionsCloudwatchLogDestination {
/**
* @return The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, /aws/OpenSearchService/IngestionService/my-pipeline.
*
*/
private String logGroup;
private PipelineLogPublishingOptionsCloudwatchLogDestination() {}
/**
* @return The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, /aws/OpenSearchService/IngestionService/my-pipeline.
*
*/
public String logGroup() {
return this.logGroup;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PipelineLogPublishingOptionsCloudwatchLogDestination defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String logGroup;
public Builder() {}
public Builder(PipelineLogPublishingOptionsCloudwatchLogDestination defaults) {
Objects.requireNonNull(defaults);
this.logGroup = defaults.logGroup;
}
@CustomType.Setter
public Builder logGroup(String logGroup) {
if (logGroup == null) {
throw new MissingRequiredPropertyException("PipelineLogPublishingOptionsCloudwatchLogDestination", "logGroup");
}
this.logGroup = logGroup;
return this;
}
public PipelineLogPublishingOptionsCloudwatchLogDestination build() {
final var _resultValue = new PipelineLogPublishingOptionsCloudwatchLogDestination();
_resultValue.logGroup = logGroup;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy