CopyableBuilder<CreateComputeEnvironmentRequest.Builder,CreateComputeEnvironmentRequest>
, SdkBuilder<CreateComputeEnvironmentRequest.Builder,CreateComputeEnvironmentRequest>
public static interface CreateComputeEnvironmentRequest.Builder extends CopyableBuilder<CreateComputeEnvironmentRequest.Builder,CreateComputeEnvironmentRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateComputeEnvironmentRequest.Builder |
computeEnvironmentName(String computeEnvironmentName) |
The name for your compute environment.
|
CreateComputeEnvironmentRequest.Builder |
computeResources(ComputeResource computeResources) |
Details of the compute resources managed by the compute environment.
|
CreateComputeEnvironmentRequest.Builder |
serviceRole(String serviceRole) |
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services
on your behalf.
|
CreateComputeEnvironmentRequest.Builder |
state(String state) |
The state of the compute environment.
|
CreateComputeEnvironmentRequest.Builder |
state(CEState state) |
The state of the compute environment.
|
CreateComputeEnvironmentRequest.Builder |
type(String type) |
The type of the compute environment.
|
CreateComputeEnvironmentRequest.Builder |
type(CEType type) |
The type of the compute environment.
|
copy
apply, build
CreateComputeEnvironmentRequest.Builder computeEnvironmentName(String computeEnvironmentName)
The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed.
computeEnvironmentName
- The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and
underscores are allowed.CreateComputeEnvironmentRequest.Builder type(String type)
The type of the compute environment.
type
- The type of the compute environment.CEType
CreateComputeEnvironmentRequest.Builder type(CEType type)
The type of the compute environment.
type
- The type of the compute environment.CEType
CreateComputeEnvironmentRequest.Builder state(String state)
The state of the compute environment. If the state is ENABLED
, then the compute environment
accepts jobs from a queue and can scale out automatically based on queues.
state
- The state of the compute environment. If the state is ENABLED
, then the compute
environment accepts jobs from a queue and can scale out automatically based on queues.CEState
CreateComputeEnvironmentRequest.Builder state(CEState state)
The state of the compute environment. If the state is ENABLED
, then the compute environment
accepts jobs from a queue and can scale out automatically based on queues.
state
- The state of the compute environment. If the state is ENABLED
, then the compute
environment accepts jobs from a queue and can scale out automatically based on queues.CEState
CreateComputeEnvironmentRequest.Builder computeResources(ComputeResource computeResources)
Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments.
computeResources
- Details of the compute resources managed by the compute environment. This parameter is required for
managed compute environments.CreateComputeEnvironmentRequest.Builder serviceRole(String serviceRole)
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
serviceRole
- The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS
services on your behalf.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.