CopyableBuilder<UpdateComputeEnvironmentRequest.Builder,UpdateComputeEnvironmentRequest>
, SdkBuilder<UpdateComputeEnvironmentRequest.Builder,UpdateComputeEnvironmentRequest>
public static interface UpdateComputeEnvironmentRequest.Builder extends CopyableBuilder<UpdateComputeEnvironmentRequest.Builder,UpdateComputeEnvironmentRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateComputeEnvironmentRequest.Builder |
computeEnvironment(String computeEnvironment) |
The name or full Amazon Resource Name (ARN) of the compute environment to update.
|
UpdateComputeEnvironmentRequest.Builder |
computeResources(ComputeResourceUpdate computeResources) |
Details of the compute resources managed by the compute environment.
|
UpdateComputeEnvironmentRequest.Builder |
serviceRole(String serviceRole) |
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto
Scaling, and EC2 on your behalf.
|
UpdateComputeEnvironmentRequest.Builder |
state(String state) |
The state of the compute environment.
|
UpdateComputeEnvironmentRequest.Builder |
state(CEState state) |
The state of the compute environment.
|
copy
apply, build
UpdateComputeEnvironmentRequest.Builder computeEnvironment(String computeEnvironment)
The name or full Amazon Resource Name (ARN) of the compute environment to update.
computeEnvironment
- The name or full Amazon Resource Name (ARN) of the compute environment to update.UpdateComputeEnvironmentRequest.Builder state(String state)
The state of the compute environment. Compute environments in the ENABLED
state can accept jobs
from a queue and scale in or out automatically based on the workload demand of its associated queues.
state
- The state of the compute environment. Compute environments in the ENABLED
state can
accept jobs from a queue and scale in or out automatically based on the workload demand of its
associated queues.CEState
UpdateComputeEnvironmentRequest.Builder state(CEState state)
The state of the compute environment. Compute environments in the ENABLED
state can accept jobs
from a queue and scale in or out automatically based on the workload demand of its associated queues.
state
- The state of the compute environment. Compute environments in the ENABLED
state can
accept jobs from a queue and scale in or out automatically based on the workload demand of its
associated queues.CEState
UpdateComputeEnvironmentRequest.Builder computeResources(ComputeResourceUpdate computeResources)
Details of the compute resources managed by the compute environment. Required for a managed compute environment.
computeResources
- Details of the compute resources managed by the compute environment. Required for a managed compute
environment.UpdateComputeEnvironmentRequest.Builder serviceRole(String serviceRole)
The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to ECS, Auto Scaling, and EC2 on your behalf.
serviceRole
- The name or full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to
ECS, Auto Scaling, and EC2 on your behalf.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.