public static interface ComputeEnvironmentDetail.Builder extends SdkPojo, CopyableBuilder<ComputeEnvironmentDetail.Builder,ComputeEnvironmentDetail>
| Modifier and Type | Method and Description |
|---|---|
ComputeEnvironmentDetail.Builder |
computeEnvironmentArn(String computeEnvironmentArn)
The Amazon Resource Name (ARN) of the compute environment.
|
ComputeEnvironmentDetail.Builder |
computeEnvironmentName(String computeEnvironmentName)
The name of the compute environment.
|
ComputeEnvironmentDetail.Builder |
computeResources(ComputeResource computeResources)
The compute resources defined for the compute environment.
|
default ComputeEnvironmentDetail.Builder |
computeResources(Consumer<ComputeResource.Builder> computeResources)
The compute resources defined for the compute environment.
|
ComputeEnvironmentDetail.Builder |
containerOrchestrationType(OrchestrationType containerOrchestrationType)
The orchestration type of the compute environment.
|
ComputeEnvironmentDetail.Builder |
containerOrchestrationType(String containerOrchestrationType)
The orchestration type of the compute environment.
|
ComputeEnvironmentDetail.Builder |
ecsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses.
|
default ComputeEnvironmentDetail.Builder |
eksConfiguration(Consumer<EksConfiguration.Builder> eksConfiguration)
The configuration for the Amazon EKS cluster that supports the Batch compute environment.
|
ComputeEnvironmentDetail.Builder |
eksConfiguration(EksConfiguration eksConfiguration)
The configuration for the Amazon EKS cluster that supports the Batch compute environment.
|
ComputeEnvironmentDetail.Builder |
serviceRole(String serviceRole)
The service role that's associated with the compute environment that allows Batch to make calls to Amazon Web
Services API operations on your behalf.
|
ComputeEnvironmentDetail.Builder |
state(CEState state)
The state of the compute environment.
|
ComputeEnvironmentDetail.Builder |
state(String state)
The state of the compute environment.
|
ComputeEnvironmentDetail.Builder |
status(CEStatus status)
The current status of the compute environment (for example,
CREATING or VALID). |
ComputeEnvironmentDetail.Builder |
status(String status)
The current status of the compute environment (for example,
CREATING or VALID). |
ComputeEnvironmentDetail.Builder |
statusReason(String statusReason)
A short, human-readable string to provide additional details for the current status of the compute
environment.
|
ComputeEnvironmentDetail.Builder |
tags(Map<String,String> tags)
The tags applied to the compute environment.
|
ComputeEnvironmentDetail.Builder |
type(CEType type)
The type of the compute environment:
MANAGED or UNMANAGED. |
ComputeEnvironmentDetail.Builder |
type(String type)
The type of the compute environment:
MANAGED or UNMANAGED. |
ComputeEnvironmentDetail.Builder |
unmanagedvCpus(Integer unmanagedvCpus)
The maximum number of VCPUs expected to be used for an unmanaged compute environment.
|
default ComputeEnvironmentDetail.Builder |
updatePolicy(Consumer<UpdatePolicy.Builder> updatePolicy)
Specifies the infrastructure update policy for the compute environment.
|
ComputeEnvironmentDetail.Builder |
updatePolicy(UpdatePolicy updatePolicy)
Specifies the infrastructure update policy for the compute environment.
|
ComputeEnvironmentDetail.Builder |
uuid(String uuid)
Unique identifier for the compute environment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComputeEnvironmentDetail.Builder computeEnvironmentName(String computeEnvironmentName)
The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
computeEnvironmentName - The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and
lowercase letters, numbers, hyphens (-), and underscores (_).ComputeEnvironmentDetail.Builder computeEnvironmentArn(String computeEnvironmentArn)
The Amazon Resource Name (ARN) of the compute environment.
computeEnvironmentArn - The Amazon Resource Name (ARN) of the compute environment.ComputeEnvironmentDetail.Builder unmanagedvCpus(Integer unmanagedvCpus)
The maximum number of VCPUs expected to be used for an unmanaged compute environment.
unmanagedvCpus - The maximum number of VCPUs expected to be used for an unmanaged compute environment.ComputeEnvironmentDetail.Builder ecsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses.
ecsClusterArn - The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses.ComputeEnvironmentDetail.Builder tags(Map<String,String> tags)
The tags applied to the compute environment.
tags - The tags applied to the compute environment.ComputeEnvironmentDetail.Builder type(String type)
The type of the compute environment: MANAGED or UNMANAGED. For more information,
see Compute
environments in the Batch User Guide.
type - The type of the compute environment: MANAGED or UNMANAGED. For more
information, see Compute
environments in the Batch User Guide.CEType,
CETypeComputeEnvironmentDetail.Builder type(CEType type)
The type of the compute environment: MANAGED or UNMANAGED. For more information,
see Compute
environments in the Batch User Guide.
type - The type of the compute environment: MANAGED or UNMANAGED. For more
information, see Compute
environments in the Batch User Guide.CEType,
CETypeComputeEnvironmentDetail.Builder state(String state)
The state of the compute environment. The valid values are ENABLED or DISABLED.
If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an associated
job queue on the compute resources within the environment. If the compute environment is managed, then it can
scale its instances out or in automatically based on the job queue demand.
If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within the
environment. Jobs in a STARTING or RUNNING state continue to progress normally.
Managed compute environments in the DISABLED state don't scale out.
Compute environments in a DISABLED state may continue to incur billing charges. To prevent
additional charges, turn off and then delete the compute environment. For more information, see State in the Batch User Guide.
When an instance is idle, the instance scales down to the minvCpus value. However, the instance
size doesn't change. For example, consider a c5.8xlarge instance with a minvCpus
value of 4 and a desiredvCpus value of 36. This instance doesn't scale
down to a c5.large instance.
state - The state of the compute environment. The valid values are ENABLED or
DISABLED.
If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an
associated job queue on the compute resources within the environment. If the compute environment is
managed, then it can scale its instances out or in automatically based on the job queue demand.
If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within
the environment. Jobs in a STARTING or RUNNING state continue to progress
normally. Managed compute environments in the DISABLED state don't scale out.
Compute environments in a DISABLED state may continue to incur billing charges. To
prevent additional charges, turn off and then delete the compute environment. For more information,
see State in the Batch User Guide.
When an instance is idle, the instance scales down to the minvCpus value. However, the
instance size doesn't change. For example, consider a c5.8xlarge instance with a
minvCpus value of 4 and a desiredvCpus value of 36
. This instance doesn't scale down to a c5.large instance.
CEState,
CEStateComputeEnvironmentDetail.Builder state(CEState state)
The state of the compute environment. The valid values are ENABLED or DISABLED.
If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an associated
job queue on the compute resources within the environment. If the compute environment is managed, then it can
scale its instances out or in automatically based on the job queue demand.
If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within the
environment. Jobs in a STARTING or RUNNING state continue to progress normally.
Managed compute environments in the DISABLED state don't scale out.
Compute environments in a DISABLED state may continue to incur billing charges. To prevent
additional charges, turn off and then delete the compute environment. For more information, see State in the Batch User Guide.
When an instance is idle, the instance scales down to the minvCpus value. However, the instance
size doesn't change. For example, consider a c5.8xlarge instance with a minvCpus
value of 4 and a desiredvCpus value of 36. This instance doesn't scale
down to a c5.large instance.
state - The state of the compute environment. The valid values are ENABLED or
DISABLED.
If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an
associated job queue on the compute resources within the environment. If the compute environment is
managed, then it can scale its instances out or in automatically based on the job queue demand.
If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within
the environment. Jobs in a STARTING or RUNNING state continue to progress
normally. Managed compute environments in the DISABLED state don't scale out.
Compute environments in a DISABLED state may continue to incur billing charges. To
prevent additional charges, turn off and then delete the compute environment. For more information,
see State in the Batch User Guide.
When an instance is idle, the instance scales down to the minvCpus value. However, the
instance size doesn't change. For example, consider a c5.8xlarge instance with a
minvCpus value of 4 and a desiredvCpus value of 36
. This instance doesn't scale down to a c5.large instance.
CEState,
CEStateComputeEnvironmentDetail.Builder status(String status)
The current status of the compute environment (for example, CREATING or VALID).
ComputeEnvironmentDetail.Builder status(CEStatus status)
The current status of the compute environment (for example, CREATING or VALID).
ComputeEnvironmentDetail.Builder statusReason(String statusReason)
A short, human-readable string to provide additional details for the current status of the compute environment.
statusReason - A short, human-readable string to provide additional details for the current status of the compute
environment.ComputeEnvironmentDetail.Builder computeResources(ComputeResource computeResources)
The compute resources defined for the compute environment. For more information, see Compute environments in the Batch User Guide.
computeResources - The compute resources defined for the compute environment. For more information, see Compute
environments in the Batch User Guide.default ComputeEnvironmentDetail.Builder computeResources(Consumer<ComputeResource.Builder> computeResources)
The compute resources defined for the compute environment. For more information, see Compute environments in the Batch User Guide.
This is a convenience method that creates an instance of theComputeResource.Builder avoiding the
need to create one manually via ComputeResource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to computeResources(ComputeResource).
computeResources - a consumer that will call methods on ComputeResource.BuildercomputeResources(ComputeResource)ComputeEnvironmentDetail.Builder serviceRole(String serviceRole)
The service role that's associated with the compute environment that allows Batch to make calls to Amazon Web Services API operations on your behalf. For more information, see Batch service IAM role in the Batch User Guide.
serviceRole - The service role that's associated with the compute environment that allows Batch to make calls to
Amazon Web Services API operations on your behalf. For more information, see Batch service IAM
role in the Batch User Guide.ComputeEnvironmentDetail.Builder updatePolicy(UpdatePolicy updatePolicy)
Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
updatePolicy - Specifies the infrastructure update policy for the compute environment. For more information about
infrastructure updates, see Updating
compute environments in the Batch User Guide.default ComputeEnvironmentDetail.Builder updatePolicy(Consumer<UpdatePolicy.Builder> updatePolicy)
Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
This is a convenience method that creates an instance of theUpdatePolicy.Builder avoiding the need
to create one manually via UpdatePolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to updatePolicy(UpdatePolicy).
updatePolicy - a consumer that will call methods on UpdatePolicy.BuilderupdatePolicy(UpdatePolicy)ComputeEnvironmentDetail.Builder eksConfiguration(EksConfiguration eksConfiguration)
The configuration for the Amazon EKS cluster that supports the Batch compute environment. Only specify this
parameter if the containerOrchestrationType is EKS.
eksConfiguration - The configuration for the Amazon EKS cluster that supports the Batch compute environment. Only specify
this parameter if the containerOrchestrationType is EKS.default ComputeEnvironmentDetail.Builder eksConfiguration(Consumer<EksConfiguration.Builder> eksConfiguration)
The configuration for the Amazon EKS cluster that supports the Batch compute environment. Only specify this
parameter if the containerOrchestrationType is EKS.
EksConfiguration.Builder avoiding the
need to create one manually via EksConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to eksConfiguration(EksConfiguration).
eksConfiguration - a consumer that will call methods on EksConfiguration.BuildereksConfiguration(EksConfiguration)ComputeEnvironmentDetail.Builder containerOrchestrationType(String containerOrchestrationType)
The orchestration type of the compute environment. The valid values are ECS (default) or
EKS.
containerOrchestrationType - The orchestration type of the compute environment. The valid values are ECS (default) or
EKS.OrchestrationType,
OrchestrationTypeComputeEnvironmentDetail.Builder containerOrchestrationType(OrchestrationType containerOrchestrationType)
The orchestration type of the compute environment. The valid values are ECS (default) or
EKS.
containerOrchestrationType - The orchestration type of the compute environment. The valid values are ECS (default) or
EKS.OrchestrationType,
OrchestrationTypeComputeEnvironmentDetail.Builder uuid(String uuid)
Unique identifier for the compute environment.
uuid - Unique identifier for the compute environment.Copyright © 2023. All rights reserved.