Class CfnPipelinePropsMixin.LogPublishingOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.osis.CfnPipelinePropsMixin.LogPublishingOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.LogPublishingOptionsProperty>
- Enclosing interface:
CfnPipelinePropsMixin.LogPublishingOptionsProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.LogPublishingOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.LogPublishingOptionsProperty>
A builder for
CfnPipelinePropsMixin.LogPublishingOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogDestination(CfnPipelinePropsMixin.CloudWatchLogDestinationProperty cloudWatchLogDestination) cloudWatchLogDestination(IResolvable cloudWatchLogDestination) isLoggingEnabled(Boolean isLoggingEnabled) Sets the value ofCfnPipelinePropsMixin.LogPublishingOptionsProperty.getIsLoggingEnabled()isLoggingEnabled(IResolvable isLoggingEnabled) Sets the value ofCfnPipelinePropsMixin.LogPublishingOptionsProperty.getIsLoggingEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogDestination
@Stability(Stable) public CfnPipelinePropsMixin.LogPublishingOptionsProperty.Builder cloudWatchLogDestination(IResolvable cloudWatchLogDestination) - Parameters:
cloudWatchLogDestination- The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required ifIsLoggingEnabledis set totrue.- Returns:
this
-
cloudWatchLogDestination
@Stability(Stable) public CfnPipelinePropsMixin.LogPublishingOptionsProperty.Builder cloudWatchLogDestination(CfnPipelinePropsMixin.CloudWatchLogDestinationProperty cloudWatchLogDestination) - Parameters:
cloudWatchLogDestination- The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required ifIsLoggingEnabledis set totrue.- Returns:
this
-
isLoggingEnabled
@Stability(Stable) public CfnPipelinePropsMixin.LogPublishingOptionsProperty.Builder isLoggingEnabled(Boolean isLoggingEnabled) Sets the value ofCfnPipelinePropsMixin.LogPublishingOptionsProperty.getIsLoggingEnabled()- Parameters:
isLoggingEnabled- Whether logs should be published.- Returns:
this
-
isLoggingEnabled
@Stability(Stable) public CfnPipelinePropsMixin.LogPublishingOptionsProperty.Builder isLoggingEnabled(IResolvable isLoggingEnabled) Sets the value ofCfnPipelinePropsMixin.LogPublishingOptionsProperty.getIsLoggingEnabled()- Parameters:
isLoggingEnabled- Whether logs should be published.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.LogPublishingOptionsProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.LogPublishingOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-