Class CfnPipe.CloudwatchLogsLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.CloudwatchLogsLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.CloudwatchLogsLogDestinationProperty>
- Enclosing interface:
CfnPipe.CloudwatchLogsLogDestinationProperty
@Stability(Stable)
public static final class CfnPipe.CloudwatchLogsLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.CloudwatchLogsLogDestinationProperty>
A builder for
CfnPipe.CloudwatchLogsLogDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logGroupArn(String logGroupArn) Sets the value ofCfnPipe.CloudwatchLogsLogDestinationProperty.getLogGroupArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupArn
@Stability(Stable) public CfnPipe.CloudwatchLogsLogDestinationProperty.Builder logGroupArn(String logGroupArn) Sets the value ofCfnPipe.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<CfnPipe.CloudwatchLogsLogDestinationProperty>- Returns:
- a new instance of
CfnPipe.CloudwatchLogsLogDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-