Class CfnCluster.ProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCluster.ProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ProviderProperty>
- Enclosing interface:
CfnCluster.ProviderProperty
@Stability(Stable)
public static final class CfnCluster.ProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ProviderProperty>
A builder for
CfnCluster.ProviderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCluster.ProviderProperty.getKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyArn
Sets the value ofCfnCluster.ProviderProperty.getKeyArn()
- Parameters:
keyArn
- Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric and created in the same AWS Region as the cluster. If the KMS key was created in a different account, the IAM principal must have access to the KMS key. For more information, see Allowing users in other accounts to use a KMS key in the AWS Key Management Service Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.ProviderProperty>
- Returns:
- a new instance of
CfnCluster.ProviderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-