Class CfnVerifiedAccessTrustProvider.SseSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessTrustProvider.SseSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.SseSpecificationProperty>
- Enclosing interface:
CfnVerifiedAccessTrustProvider.SseSpecificationProperty
@Stability(Stable)
public static final class CfnVerifiedAccessTrustProvider.SseSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessTrustProvider.SseSpecificationProperty>
A builder for
CfnVerifiedAccessTrustProvider.SseSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customerManagedKeyEnabled
(Boolean customerManagedKeyEnabled) customerManagedKeyEnabled
(IResolvable customerManagedKeyEnabled) Sets the value ofCfnVerifiedAccessTrustProvider.SseSpecificationProperty.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManagedKeyEnabled
@Stability(Stable) public CfnVerifiedAccessTrustProvider.SseSpecificationProperty.Builder customerManagedKeyEnabled(Boolean customerManagedKeyEnabled) Sets the value ofCfnVerifiedAccessTrustProvider.SseSpecificationProperty.getCustomerManagedKeyEnabled()
- 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 CfnVerifiedAccessTrustProvider.SseSpecificationProperty.Builder customerManagedKeyEnabled(IResolvable customerManagedKeyEnabled) Sets the value ofCfnVerifiedAccessTrustProvider.SseSpecificationProperty.getCustomerManagedKeyEnabled()
- 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 CfnVerifiedAccessTrustProvider.SseSpecificationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnVerifiedAccessTrustProvider.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<CfnVerifiedAccessTrustProvider.SseSpecificationProperty>
- Returns:
- a new instance of
CfnVerifiedAccessTrustProvider.SseSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-