@Generated(value="software.amazon.awssdk:codegen") public final class UpdateComputeEnvironmentRequest extends BatchRequest implements ToCopyableBuilder<UpdateComputeEnvironmentRequest.Builder,UpdateComputeEnvironmentRequest>
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
UpdateComputeEnvironmentRequest.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static UpdateComputeEnvironmentRequest.Builder | 
builder()  | 
String | 
computeEnvironment()
 The name or full Amazon Resource Name (ARN) of the compute environment to update. 
 | 
ComputeResourceUpdate | 
computeResources()
 Details of the compute resources managed by the compute environment. 
 | 
boolean | 
equals(Object obj)  | 
<T> Optional<T> | 
getValueForField(String fieldName,
                Class<T> clazz)
Used to retrieve the value of a field from any class that extends  
SdkRequest. | 
int | 
hashCode()  | 
List<SdkField<?>> | 
sdkFields()  | 
static Class<? extends UpdateComputeEnvironmentRequest.Builder> | 
serializableBuilderClass()  | 
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. 
 | 
CEState | 
state()
 The state of the compute environment. 
 | 
String | 
stateAsString()
 The state of the compute environment. 
 | 
UpdateComputeEnvironmentRequest.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
overrideConfigurationcopypublic String computeEnvironment()
The name or full Amazon Resource Name (ARN) of the compute environment to update.
public 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.
 
 If the service returns an enum value that is not available in the current SDK version, state will return
 CEState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 stateAsString().
 
ENABLED state can accept
         jobs from a queue and scale in or out automatically based on the workload demand of its associated
         queues.CEStatepublic String stateAsString()
 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.
 
 If the service returns an enum value that is not available in the current SDK version, state will return
 CEState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
 stateAsString().
 
ENABLED state can accept
         jobs from a queue and scale in or out automatically based on the workload demand of its associated
         queues.CEStatepublic ComputeResourceUpdate computeResources()
Details of the compute resources managed by the compute environment. Required for a managed compute environment.
public 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.
 If your specified role has a path other than /, then you must either specify the full role ARN (this
 is recommended) or prefix the role name with the path.
 
 Depending on how you created your AWS Batch service role, its ARN may contain the service-role path
 prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN does not use the
 service-role path prefix. Because of this, we recommend that you specify the full ARN of your
 service role when you create compute environments.
 
         If your specified role has a path other than /, then you must either specify the full role
         ARN (this is recommended) or prefix the role name with the path.
         
         Depending on how you created your AWS Batch service role, its ARN may contain the
         service-role path prefix. When you only specify the name of the service role, AWS Batch
         assumes that your ARN does not use the service-role path prefix. Because of this, we
         recommend that you specify the full ARN of your service role when you create compute environments.
         
public UpdateComputeEnvironmentRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<UpdateComputeEnvironmentRequest.Builder,UpdateComputeEnvironmentRequest>toBuilder in class BatchRequestpublic static UpdateComputeEnvironmentRequest.Builder builder()
public static Class<? extends UpdateComputeEnvironmentRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
 specified should match the member name from the corresponding service-2.json model specified in the
 codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
 If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
 again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.