Class CfnPipeline.CloudWatchLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.osis.CfnPipeline.CloudWatchLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.CloudWatchLogDestinationProperty>
- Enclosing interface:
CfnPipeline.CloudWatchLogDestinationProperty
@Stability(Stable)
public static final class CfnPipeline.CloudWatchLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.CloudWatchLogDestinationProperty>
A builder for
CfnPipeline.CloudWatchLogDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipeline.CloudWatchLogDestinationProperty.getLogGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroup
@Stability(Stable) public CfnPipeline.CloudWatchLogDestinationProperty.Builder logGroup(String logGroup) Sets the value ofCfnPipeline.CloudWatchLogDestinationProperty.getLogGroup()- Parameters:
logGroup- The name of the CloudWatch Logs group to send pipeline logs to. This parameter is required. 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<CfnPipeline.CloudWatchLogDestinationProperty>- Returns:
- a new instance of
CfnPipeline.CloudWatchLogDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-