StructuredPojo
, ToCopyableBuilder<ComputeResourceUpdate.Builder,ComputeResourceUpdate>
@Generated("software.amazon.awssdk:codegen") public class ComputeResourceUpdate extends Object implements StructuredPojo, ToCopyableBuilder<ComputeResourceUpdate.Builder,ComputeResourceUpdate>
An object representing the attributes of a compute environment that can be updated.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ComputeResourceUpdate.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ComputeResourceUpdate.Builder |
builder() |
|
Integer |
desiredvCpus() |
The desired number of EC2 vCPUS in the compute environment.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
maxvCpus() |
The maximum number of EC2 vCPUs that an environment can reach.
|
Integer |
minvCpus() |
The minimum number of EC2 vCPUs that an environment should maintain.
|
static Class<? extends ComputeResourceUpdate.Builder> |
serializableBuilderClass() |
|
ComputeResourceUpdate.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Integer minvCpus()
The minimum number of EC2 vCPUs that an environment should maintain.
public Integer maxvCpus()
The maximum number of EC2 vCPUs that an environment can reach.
public Integer desiredvCpus()
The desired number of EC2 vCPUS in the compute environment.
public ComputeResourceUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ComputeResourceUpdate.Builder,ComputeResourceUpdate>
public static ComputeResourceUpdate.Builder builder()
public static Class<? extends ComputeResourceUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.