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