Class CfnComputeEnvironment.EksAccessEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnComputeEnvironment.EksAccessEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironment.EksAccessEntryProperty>
- Enclosing interface:
CfnComputeEnvironment.EksAccessEntryProperty
@Stability(Stable)
public static final class CfnComputeEnvironment.EksAccessEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironment.EksAccessEntryProperty>
A builder for
CfnComputeEnvironment.EksAccessEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.desiredState(String desiredState) Sets the value ofCfnComputeEnvironment.EksAccessEntryProperty.getDesiredState()Sets the value ofCfnComputeEnvironment.EksAccessEntryProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
desiredState
@Stability(Stable) public CfnComputeEnvironment.EksAccessEntryProperty.Builder desiredState(String desiredState) Sets the value ofCfnComputeEnvironment.EksAccessEntryProperty.getDesiredState()- Parameters:
desiredState- The desired state of the EKS access entry managed by AWS Batch. When omitted, AWS Batch applies INHERIT_FROM_CLUSTER.- Returns:
this
-
status
@Stability(Stable) public CfnComputeEnvironment.EksAccessEntryProperty.Builder status(String status) Sets the value ofCfnComputeEnvironment.EksAccessEntryProperty.getStatus()- Parameters:
status- The read-only status of the EKS access entry, returned by DescribeComputeEnvironments.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeEnvironment.EksAccessEntryProperty>- Returns:
- a new instance of
CfnComputeEnvironment.EksAccessEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-