Class CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty>
- Enclosing interface:
CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty>
A builder for
CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logGroupArn(String logGroupArn) Sets the value ofCfnPipePropsMixin.CloudwatchLogsLogDestinationProperty.getLogGroupArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupArn
@Stability(Stable) public CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty.Builder logGroupArn(String logGroupArn) Sets the value ofCfnPipePropsMixin.CloudwatchLogsLogDestinationProperty.getLogGroupArn()- Parameters:
logGroupArn- The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty>- Returns:
- a new instance of
CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-