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