Class CfnClusterPropsMixin.EncryptionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.EncryptionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.EncryptionConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.EncryptionConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.EncryptionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.EncryptionConfigProperty>
A builder for
CfnClusterPropsMixin.EncryptionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.EncryptionConfigProperty.getProvider()provider(IResolvable provider) Sets the value ofCfnClusterPropsMixin.EncryptionConfigProperty.getProvider()Sets the value ofCfnClusterPropsMixin.EncryptionConfigProperty.getResources()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
provider
@Stability(Stable) public CfnClusterPropsMixin.EncryptionConfigProperty.Builder provider(IResolvable provider) Sets the value ofCfnClusterPropsMixin.EncryptionConfigProperty.getProvider()- Parameters:
provider- The encryption provider for the cluster.- Returns:
this
-
provider
@Stability(Stable) public CfnClusterPropsMixin.EncryptionConfigProperty.Builder provider(CfnClusterPropsMixin.ProviderProperty provider) Sets the value ofCfnClusterPropsMixin.EncryptionConfigProperty.getProvider()- Parameters:
provider- The encryption provider for the cluster.- Returns:
this
-
resources
@Stability(Stable) public CfnClusterPropsMixin.EncryptionConfigProperty.Builder resources(List<String> resources) Sets the value ofCfnClusterPropsMixin.EncryptionConfigProperty.getResources()- Parameters:
resources- Specifies the resources to be encrypted. The only supported value issecrets.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.EncryptionConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.EncryptionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-