Interface EksAccessEntry.Builder

  • Method Details

    • desiredState

      EksAccessEntry.Builder desiredState(String desiredState)

      The desired access entry state for the compute environment. Valid values:

      ENABLED

      Batch manages an access entry on the cluster for the compute environment.

      DISABLED

      Batch deletes the Batch-managed access entry for the cluster. This value is rejected if the cluster's authenticationMode is API, because such a cluster doesn't support the aws-auth ConfigMap.

      INHERIT_FROM_CLUSTER

      Batch defers to the cluster's current access entry status. On a cluster whose authentication mode is API, Batch creates and manages an access entry. On a cluster whose authentication mode is API_AND_CONFIG_MAP or CONFIG_MAP, Batch neither adds nor removes an access entry.

      Parameters:
      desiredState - The desired access entry state for the compute environment. Valid values:

      ENABLED

      Batch manages an access entry on the cluster for the compute environment.

      DISABLED

      Batch deletes the Batch-managed access entry for the cluster. This value is rejected if the cluster's authenticationMode is API, because such a cluster doesn't support the aws-auth ConfigMap.

      INHERIT_FROM_CLUSTER

      Batch defers to the cluster's current access entry status. On a cluster whose authentication mode is API, Batch creates and manages an access entry. On a cluster whose authentication mode is API_AND_CONFIG_MAP or CONFIG_MAP, Batch neither adds nor removes an access entry.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • desiredState

      The desired access entry state for the compute environment. Valid values:

      ENABLED

      Batch manages an access entry on the cluster for the compute environment.

      DISABLED

      Batch deletes the Batch-managed access entry for the cluster. This value is rejected if the cluster's authenticationMode is API, because such a cluster doesn't support the aws-auth ConfigMap.

      INHERIT_FROM_CLUSTER

      Batch defers to the cluster's current access entry status. On a cluster whose authentication mode is API, Batch creates and manages an access entry. On a cluster whose authentication mode is API_AND_CONFIG_MAP or CONFIG_MAP, Batch neither adds nor removes an access entry.

      Parameters:
      desiredState - The desired access entry state for the compute environment. Valid values:

      ENABLED

      Batch manages an access entry on the cluster for the compute environment.

      DISABLED

      Batch deletes the Batch-managed access entry for the cluster. This value is rejected if the cluster's authenticationMode is API, because such a cluster doesn't support the aws-auth ConfigMap.

      INHERIT_FROM_CLUSTER

      Batch defers to the cluster's current access entry status. On a cluster whose authentication mode is API, Batch creates and manages an access entry. On a cluster whose authentication mode is API_AND_CONFIG_MAP or CONFIG_MAP, Batch neither adds nor removes an access entry.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The observed state of the access entry on the cluster. ACTIVE means that an access entry for the compute environment exists on the cluster and takes precedence over the aws-auth ConfigMap. INACTIVE means that no Batch-managed access entry is present. This is a read-only field returned by DescribeComputeEnvironments.

      Parameters:
      status - The observed state of the access entry on the cluster. ACTIVE means that an access entry for the compute environment exists on the cluster and takes precedence over the aws-auth ConfigMap. INACTIVE means that no Batch-managed access entry is present. This is a read-only field returned by DescribeComputeEnvironments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The observed state of the access entry on the cluster. ACTIVE means that an access entry for the compute environment exists on the cluster and takes precedence over the aws-auth ConfigMap. INACTIVE means that no Batch-managed access entry is present. This is a read-only field returned by DescribeComputeEnvironments.

      Parameters:
      status - The observed state of the access entry on the cluster. ACTIVE means that an access entry for the compute environment exists on the cluster and takes precedence over the aws-auth ConfigMap. INACTIVE means that no Batch-managed access entry is present. This is a read-only field returned by DescribeComputeEnvironments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: