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