@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComputeResourceUpdate extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the attributes of a compute environment that can be updated.
Constructor and Description |
---|
ComputeResourceUpdate() |
Modifier and Type | Method and Description |
---|---|
ComputeResourceUpdate |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredvCpus()
The desired number of EC2 vCPUS in the compute environment.
|
Integer |
getMaxvCpus()
The maximum number of EC2 vCPUs that an environment can reach.
|
Integer |
getMinvCpus()
The minimum number of EC2 vCPUs that an environment should maintain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDesiredvCpus(Integer desiredvCpus)
The desired number of EC2 vCPUS in the compute environment.
|
void |
setMaxvCpus(Integer maxvCpus)
The maximum number of EC2 vCPUs that an environment can reach.
|
void |
setMinvCpus(Integer minvCpus)
The minimum number of EC2 vCPUs that an environment should maintain.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ComputeResourceUpdate |
withDesiredvCpus(Integer desiredvCpus)
The desired number of EC2 vCPUS in the compute environment.
|
ComputeResourceUpdate |
withMaxvCpus(Integer maxvCpus)
The maximum number of EC2 vCPUs that an environment can reach.
|
ComputeResourceUpdate |
withMinvCpus(Integer minvCpus)
The minimum number of EC2 vCPUs that an environment should maintain.
|
public void setMinvCpus(Integer minvCpus)
The minimum number of EC2 vCPUs that an environment should maintain.
minvCpus
- The minimum number of EC2 vCPUs that an environment should maintain.public Integer getMinvCpus()
The minimum number of EC2 vCPUs that an environment should maintain.
public ComputeResourceUpdate withMinvCpus(Integer minvCpus)
The minimum number of EC2 vCPUs that an environment should maintain.
minvCpus
- The minimum number of EC2 vCPUs that an environment should maintain.public void setMaxvCpus(Integer maxvCpus)
The maximum number of EC2 vCPUs that an environment can reach.
maxvCpus
- The maximum number of EC2 vCPUs that an environment can reach.public Integer getMaxvCpus()
The maximum number of EC2 vCPUs that an environment can reach.
public ComputeResourceUpdate withMaxvCpus(Integer maxvCpus)
The maximum number of EC2 vCPUs that an environment can reach.
maxvCpus
- The maximum number of EC2 vCPUs that an environment can reach.public void setDesiredvCpus(Integer desiredvCpus)
The desired number of EC2 vCPUS in the compute environment.
desiredvCpus
- The desired number of EC2 vCPUS in the compute environment.public Integer getDesiredvCpus()
The desired number of EC2 vCPUS in the compute environment.
public ComputeResourceUpdate withDesiredvCpus(Integer desiredvCpus)
The desired number of EC2 vCPUS in the compute environment.
desiredvCpus
- The desired number of EC2 vCPUS in the compute environment.public String toString()
toString
in class Object
Object.toString()
public ComputeResourceUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.