Class CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty>
- Enclosing interface:
CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty
@Stability(Stable)
public static final class CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty>
A builder for
CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.desiredState(String desiredState) Sets the value ofCfnComputeEnvironmentPropsMixin.EksAccessEntryProperty.getDesiredState()Sets the value ofCfnComputeEnvironmentPropsMixin.EksAccessEntryProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
desiredState
@Stability(Stable) public CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty.Builder desiredState(String desiredState) Sets the value ofCfnComputeEnvironmentPropsMixin.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 CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty.Builder status(String status) Sets the value ofCfnComputeEnvironmentPropsMixin.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<CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty>- Returns:
- a new instance of
CfnComputeEnvironmentPropsMixin.EksAccessEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-