Class CfnPentestPropsMixin.CloudWatchLogProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnPentestPropsMixin.CloudWatchLogProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPentestPropsMixin.CloudWatchLogProperty>
- Enclosing interface:
CfnPentestPropsMixin.CloudWatchLogProperty
@Stability(Stable)
public static final class CfnPentestPropsMixin.CloudWatchLogProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPentestPropsMixin.CloudWatchLogProperty>
A builder for
CfnPentestPropsMixin.CloudWatchLogProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPentestPropsMixin.CloudWatchLogProperty.getLogGroup()Sets the value ofCfnPentestPropsMixin.CloudWatchLogProperty.getLogStream()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroup
@Stability(Stable) public CfnPentestPropsMixin.CloudWatchLogProperty.Builder logGroup(String logGroup) Sets the value ofCfnPentestPropsMixin.CloudWatchLogProperty.getLogGroup()- Parameters:
logGroup- the value to be set.- Returns:
this
-
logStream
@Stability(Stable) public CfnPentestPropsMixin.CloudWatchLogProperty.Builder logStream(String logStream) Sets the value ofCfnPentestPropsMixin.CloudWatchLogProperty.getLogStream()- Parameters:
logStream- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPentestPropsMixin.CloudWatchLogProperty>- Returns:
- a new instance of
CfnPentestPropsMixin.CloudWatchLogProperty - Throws:
NullPointerException- if any required attribute was not provided
-