Class CfnVerifiedAccessEndpoint.SseSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessEndpoint.SseSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessEndpoint.SseSpecificationProperty>
- Enclosing interface:
CfnVerifiedAccessEndpoint.SseSpecificationProperty
@Stability(Stable)
public static final class CfnVerifiedAccessEndpoint.SseSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessEndpoint.SseSpecificationProperty>
A builder for
CfnVerifiedAccessEndpoint.SseSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customerManagedKeyEnabled
(Boolean customerManagedKeyEnabled) customerManagedKeyEnabled
(IResolvable customerManagedKeyEnabled) Sets the value ofCfnVerifiedAccessEndpoint.SseSpecificationProperty.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManagedKeyEnabled
@Stability(Stable) public CfnVerifiedAccessEndpoint.SseSpecificationProperty.Builder customerManagedKeyEnabled(Boolean customerManagedKeyEnabled) - Parameters:
customerManagedKeyEnabled
- Enable or disable the use of customer managed KMS keys for server side encryption. Valid values:True
|False
- Returns:
this
-
customerManagedKeyEnabled
@Stability(Stable) public CfnVerifiedAccessEndpoint.SseSpecificationProperty.Builder customerManagedKeyEnabled(IResolvable customerManagedKeyEnabled) - Parameters:
customerManagedKeyEnabled
- Enable or disable the use of customer managed KMS keys for server side encryption. Valid values:True
|False
- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnVerifiedAccessEndpoint.SseSpecificationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnVerifiedAccessEndpoint.SseSpecificationProperty.getKmsKeyArn()
- Parameters:
kmsKeyArn
- The ARN of the KMS key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessEndpoint.SseSpecificationProperty>
- Returns:
- a new instance of
CfnVerifiedAccessEndpoint.SseSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-