@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComputeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the performance configuration for compute services such as Amazon EC2, Lambda, and ECS.
Constructor and Description |
---|
ComputeConfiguration() |
Modifier and Type | Method and Description |
---|---|
ComputeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getArchitecture()
The architecture of the resource.
|
Integer |
getMemorySizeInMB()
The memory size of the resource.
|
String |
getPlatform()
The platform of the resource.
|
Double |
getVCpu()
The number of vCPU cores in the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArchitecture(String architecture)
The architecture of the resource.
|
void |
setMemorySizeInMB(Integer memorySizeInMB)
The memory size of the resource.
|
void |
setPlatform(String platform)
The platform of the resource.
|
void |
setVCpu(Double vCpu)
The number of vCPU cores in the resource.
|
String |
toString()
Returns a string representation of this object.
|
ComputeConfiguration |
withArchitecture(String architecture)
The architecture of the resource.
|
ComputeConfiguration |
withMemorySizeInMB(Integer memorySizeInMB)
The memory size of the resource.
|
ComputeConfiguration |
withPlatform(String platform)
The platform of the resource.
|
ComputeConfiguration |
withVCpu(Double vCpu)
The number of vCPU cores in the resource.
|
public void setVCpu(Double vCpu)
The number of vCPU cores in the resource.
vCpu
- The number of vCPU cores in the resource.public Double getVCpu()
The number of vCPU cores in the resource.
public ComputeConfiguration withVCpu(Double vCpu)
The number of vCPU cores in the resource.
vCpu
- The number of vCPU cores in the resource.public void setMemorySizeInMB(Integer memorySizeInMB)
The memory size of the resource.
memorySizeInMB
- The memory size of the resource.public Integer getMemorySizeInMB()
The memory size of the resource.
public ComputeConfiguration withMemorySizeInMB(Integer memorySizeInMB)
The memory size of the resource.
memorySizeInMB
- The memory size of the resource.public void setArchitecture(String architecture)
The architecture of the resource.
architecture
- The architecture of the resource.public String getArchitecture()
The architecture of the resource.
public ComputeConfiguration withArchitecture(String architecture)
The architecture of the resource.
architecture
- The architecture of the resource.public void setPlatform(String platform)
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
platform
- The platform of the resource. The platform is the specific combination of operating system, license model,
and software on an instance.public String getPlatform()
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
public ComputeConfiguration withPlatform(String platform)
The platform of the resource. The platform is the specific combination of operating system, license model, and software on an instance.
platform
- The platform of the resource. The platform is the specific combination of operating system, license model,
and software on an instance.public String toString()
toString
in class Object
Object.toString()
public ComputeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.