Class CfnPipelinePropsMixin.CloudWatchLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.osis.CfnPipelinePropsMixin.CloudWatchLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.CloudWatchLogDestinationProperty>
- Enclosing interface:
CfnPipelinePropsMixin.CloudWatchLogDestinationProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.CloudWatchLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.CloudWatchLogDestinationProperty>
A builder for
CfnPipelinePropsMixin.CloudWatchLogDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.CloudWatchLogDestinationProperty.getLogGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroup
@Stability(Stable) public CfnPipelinePropsMixin.CloudWatchLogDestinationProperty.Builder logGroup(String logGroup) Sets the value ofCfnPipelinePropsMixin.CloudWatchLogDestinationProperty.getLogGroup()- Parameters:
logGroup- 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/vendedlogs/OpenSearchService/pipelines.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.CloudWatchLogDestinationProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.CloudWatchLogDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-