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