public class HostProperties extends Object implements Serializable, Cloneable
Constructor and Description |
---|
HostProperties() |
Modifier and Type | Method and Description |
---|---|
HostProperties |
clone() |
boolean |
equals(Object obj) |
Integer |
getCores()
The number of cores on the Dedicated host.
|
String |
getInstanceType()
The instance type size that the Dedicated host supports (e.g.,
m3.medium).
|
Integer |
getSockets()
The number of sockets on the Dedicated host.
|
Integer |
getTotalVCpus()
The number of vCPUs on the Dedicated host.
|
int |
hashCode() |
void |
setCores(Integer cores)
The number of cores on the Dedicated host.
|
void |
setInstanceType(String instanceType)
The instance type size that the Dedicated host supports (e.g.,
m3.medium).
|
void |
setSockets(Integer sockets)
The number of sockets on the Dedicated host.
|
void |
setTotalVCpus(Integer totalVCpus)
The number of vCPUs on the Dedicated host.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HostProperties |
withCores(Integer cores)
The number of cores on the Dedicated host.
|
HostProperties |
withInstanceType(String instanceType)
The instance type size that the Dedicated host supports (e.g.,
m3.medium).
|
HostProperties |
withSockets(Integer sockets)
The number of sockets on the Dedicated host.
|
HostProperties |
withTotalVCpus(Integer totalVCpus)
The number of vCPUs on the Dedicated host.
|
public void setSockets(Integer sockets)
The number of sockets on the Dedicated host.
sockets
- The number of sockets on the Dedicated host.public Integer getSockets()
The number of sockets on the Dedicated host.
public HostProperties withSockets(Integer sockets)
The number of sockets on the Dedicated host.
sockets
- The number of sockets on the Dedicated host.public void setCores(Integer cores)
The number of cores on the Dedicated host.
cores
- The number of cores on the Dedicated host.public Integer getCores()
The number of cores on the Dedicated host.
public HostProperties withCores(Integer cores)
The number of cores on the Dedicated host.
cores
- The number of cores on the Dedicated host.public void setTotalVCpus(Integer totalVCpus)
The number of vCPUs on the Dedicated host.
totalVCpus
- The number of vCPUs on the Dedicated host.public Integer getTotalVCpus()
The number of vCPUs on the Dedicated host.
public HostProperties withTotalVCpus(Integer totalVCpus)
The number of vCPUs on the Dedicated host.
totalVCpus
- The number of vCPUs on the Dedicated host.public void setInstanceType(String instanceType)
The instance type size that the Dedicated host supports (e.g., m3.medium).
instanceType
- The instance type size that the Dedicated host supports (e.g.,
m3.medium).public String getInstanceType()
The instance type size that the Dedicated host supports (e.g., m3.medium).
public HostProperties withInstanceType(String instanceType)
The instance type size that the Dedicated host supports (e.g., m3.medium).
instanceType
- The instance type size that the Dedicated host supports (e.g.,
m3.medium).public String toString()
toString
in class Object
Object.toString()
public HostProperties clone()
Copyright © 2016. All rights reserved.