public static interface ComputeEnvironmentDetail.Builder extends 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 |
ecsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
|
ComputeEnvironmentDetail.Builder |
serviceRole(String serviceRole)
The service role associated with the compute environment that allows AWS Batch to make calls to AWS 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 about the current status of the compute
environment.
|
ComputeEnvironmentDetail.Builder |
type(CEType type)
The type of the compute environment.
|
ComputeEnvironmentDetail.Builder |
type(String type)
The type of the compute environment.
|
copy
apply, build
ComputeEnvironmentDetail.Builder computeEnvironmentName(String computeEnvironmentName)
The name of the compute environment.
computeEnvironmentName
- The name of the compute environment.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 ecsClusterArn(String ecsClusterArn)
The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
ecsClusterArn
- The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.ComputeEnvironmentDetail.Builder type(String type)
The type of the compute environment.
ComputeEnvironmentDetail.Builder type(CEType type)
The type of the compute environment.
ComputeEnvironmentDetail.Builder state(String state)
The state of the compute environment. The valid values are ENABLED
or DISABLED
. An
ENABLED
state indicates that you can register instances with the compute environment and that
the associated instances can accept jobs.
state
- The state of the compute environment. The valid values are ENABLED
or
DISABLED
. An ENABLED
state indicates that you can register instances with
the compute environment and that the associated instances can accept jobs.CEState
,
CEState
ComputeEnvironmentDetail.Builder state(CEState state)
The state of the compute environment. The valid values are ENABLED
or DISABLED
. An
ENABLED
state indicates that you can register instances with the compute environment and that
the associated instances can accept jobs.
state
- The state of the compute environment. The valid values are ENABLED
or
DISABLED
. An ENABLED
state indicates that you can register instances with
the compute environment and that the associated instances can accept jobs.CEState
,
CEState
ComputeEnvironmentDetail.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 about the current status of the compute environment.
statusReason
- A short, human-readable string to provide additional details about the current status of the compute
environment.ComputeEnvironmentDetail.Builder computeResources(ComputeResource computeResources)
The compute resources defined for the compute environment.
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.
This is a convenience 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.Builder
computeResources(ComputeResource)
ComputeEnvironmentDetail.Builder serviceRole(String serviceRole)
The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.
serviceRole
- The service role associated with the compute environment that allows AWS Batch to make calls to AWS
API operations on your behalf.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.