Class CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksConfigurationProperty>
- Enclosing interface:
CfnComputeEnvironmentPropsMixin.EksConfigurationProperty
@Stability(Stable)
public static final class CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksConfigurationProperty>
A builder for
CfnComputeEnvironmentPropsMixin.EksConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eksClusterArn(String eksClusterArn) kubernetesNamespace(String kubernetesNamespace)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eksClusterArn
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder eksClusterArn(String eksClusterArn) - Parameters:
eksClusterArn- The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example isarn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*.- Returns:
this
-
kubernetesNamespace
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.EksConfigurationProperty.Builder kubernetesNamespace(String kubernetesNamespace) - Parameters:
kubernetesNamespace- The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set todefault, can't start with "kube-," and must match this regular expression:^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more information, see Namespaces in the Kubernetes documentation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksConfigurationProperty>- Returns:
- a new instance of
CfnComputeEnvironmentPropsMixin.EksConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-