Class CfnVerifiedAccessGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessGroupProps>
- Enclosing interface:
CfnVerifiedAccessGroupProps
@Stability(Stable)
public static final class CfnVerifiedAccessGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessGroupProps>
A builder for
CfnVerifiedAccessGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnVerifiedAccessGroupProps.getDescription()
policyDocument
(String policyDocument) Sets the value ofCfnVerifiedAccessGroupProps.getPolicyDocument()
policyEnabled
(Boolean policyEnabled) Sets the value ofCfnVerifiedAccessGroupProps.getPolicyEnabled()
policyEnabled
(IResolvable policyEnabled) Sets the value ofCfnVerifiedAccessGroupProps.getPolicyEnabled()
sseSpecification
(IResolvable sseSpecification) Sets the value ofCfnVerifiedAccessGroupProps.getSseSpecification()
sseSpecification
(CfnVerifiedAccessGroup.SseSpecificationProperty sseSpecification) Sets the value ofCfnVerifiedAccessGroupProps.getSseSpecification()
Sets the value ofCfnVerifiedAccessGroupProps.getTags()
verifiedAccessInstanceId
(String verifiedAccessInstanceId) Sets the value ofCfnVerifiedAccessGroupProps.getVerifiedAccessInstanceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
verifiedAccessInstanceId
@Stability(Stable) public CfnVerifiedAccessGroupProps.Builder verifiedAccessInstanceId(String verifiedAccessInstanceId) Sets the value ofCfnVerifiedAccessGroupProps.getVerifiedAccessInstanceId()
- Parameters:
verifiedAccessInstanceId
- The ID of the AWS Verified Access instance. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnVerifiedAccessGroupProps.getDescription()
- Parameters:
description
- A description for the AWS Verified Access group.- Returns:
this
-
policyDocument
Sets the value ofCfnVerifiedAccessGroupProps.getPolicyDocument()
- Parameters:
policyDocument
- The Verified Access policy document.- Returns:
this
-
policyEnabled
Sets the value ofCfnVerifiedAccessGroupProps.getPolicyEnabled()
- Parameters:
policyEnabled
- The status of the Verified Access policy.- Returns:
this
-
policyEnabled
@Stability(Stable) public CfnVerifiedAccessGroupProps.Builder policyEnabled(IResolvable policyEnabled) Sets the value ofCfnVerifiedAccessGroupProps.getPolicyEnabled()
- Parameters:
policyEnabled
- The status of the Verified Access policy.- Returns:
this
-
sseSpecification
@Stability(Stable) public CfnVerifiedAccessGroupProps.Builder sseSpecification(IResolvable sseSpecification) Sets the value ofCfnVerifiedAccessGroupProps.getSseSpecification()
- Parameters:
sseSpecification
- The options for additional server side encryption.- Returns:
this
-
sseSpecification
@Stability(Stable) public CfnVerifiedAccessGroupProps.Builder sseSpecification(CfnVerifiedAccessGroup.SseSpecificationProperty sseSpecification) Sets the value ofCfnVerifiedAccessGroupProps.getSseSpecification()
- Parameters:
sseSpecification
- The options for additional server side encryption.- Returns:
this
-
tags
Sets the value ofCfnVerifiedAccessGroupProps.getTags()
- Parameters:
tags
- The tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessGroupProps>
- Returns:
- a new instance of
CfnVerifiedAccessGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-