Class CfnVerifiedAccessInstance.CloudWatchLogsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance.CloudWatchLogsProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnVerifiedAccessInstance.CloudWatchLogsProperty>
- Enclosing interface:
 - CfnVerifiedAccessInstance.CloudWatchLogsProperty
 
@Stability(Stable)
public static final class CfnVerifiedAccessInstance.CloudWatchLogsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessInstance.CloudWatchLogsProperty>
A builder for 
CfnVerifiedAccessInstance.CloudWatchLogsProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVerifiedAccessInstance.CloudWatchLogsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnVerifiedAccessInstance.CloudWatchLogsProperty.getEnabled()Sets the value ofCfnVerifiedAccessInstance.CloudWatchLogsProperty.getLogGroup() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
enabled
@Stability(Stable) public CfnVerifiedAccessInstance.CloudWatchLogsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnVerifiedAccessInstance.CloudWatchLogsProperty.getEnabled()- Parameters:
 enabled- Indicates whether logging is enabled.- Returns:
 this
 - 
enabled
@Stability(Stable) public CfnVerifiedAccessInstance.CloudWatchLogsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnVerifiedAccessInstance.CloudWatchLogsProperty.getEnabled()- Parameters:
 enabled- Indicates whether logging is enabled.- Returns:
 this
 - 
logGroup
@Stability(Stable) public CfnVerifiedAccessInstance.CloudWatchLogsProperty.Builder logGroup(String logGroup) Sets the value ofCfnVerifiedAccessInstance.CloudWatchLogsProperty.getLogGroup()- Parameters:
 logGroup- The ID of the CloudWatch Logs log group.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessInstance.CloudWatchLogsProperty>- Returns:
 - a new instance of 
CfnVerifiedAccessInstance.CloudWatchLogsProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -