@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostProperties extends Object implements Serializable, Cloneable
Describes the properties of a Dedicated Host.
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 |
getInstanceFamily()
The instance family supported by the Dedicated Host.
|
String |
getInstanceType()
The instance type supported by the Dedicated Host.
|
Integer |
getSockets()
The number of sockets on the Dedicated Host.
|
Integer |
getTotalVCpus()
The total number of vCPUs on the Dedicated Host.
|
int |
hashCode() |
void |
setCores(Integer cores)
The number of cores on the Dedicated Host.
|
void |
setInstanceFamily(String instanceFamily)
The instance family supported by the Dedicated Host.
|
void |
setInstanceType(String instanceType)
The instance type supported by the Dedicated Host.
|
void |
setSockets(Integer sockets)
The number of sockets on the Dedicated Host.
|
void |
setTotalVCpus(Integer totalVCpus)
The total number of vCPUs on the Dedicated Host.
|
String |
toString()
Returns a string representation of this object.
|
HostProperties |
withCores(Integer cores)
The number of cores on the Dedicated Host.
|
HostProperties |
withInstanceFamily(String instanceFamily)
The instance family supported by the Dedicated Host.
|
HostProperties |
withInstanceType(String instanceType)
The instance type supported by the Dedicated Host.
|
HostProperties |
withSockets(Integer sockets)
The number of sockets on the Dedicated Host.
|
HostProperties |
withTotalVCpus(Integer totalVCpus)
The total number of vCPUs 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 setInstanceType(String instanceType)
The instance type supported by the Dedicated Host. For example, m5.large
. If the host supports
multiple instance types, no instanceType is returned.
instanceType
- The instance type supported by the Dedicated Host. For example, m5.large
. If the host
supports multiple instance types, no instanceType is returned.public String getInstanceType()
The instance type supported by the Dedicated Host. For example, m5.large
. If the host supports
multiple instance types, no instanceType is returned.
m5.large
. If the host
supports multiple instance types, no instanceType is returned.public HostProperties withInstanceType(String instanceType)
The instance type supported by the Dedicated Host. For example, m5.large
. If the host supports
multiple instance types, no instanceType is returned.
instanceType
- The instance type supported by the Dedicated Host. For example, m5.large
. If the host
supports multiple instance types, no instanceType is returned.public void setInstanceFamily(String instanceFamily)
The instance family supported by the Dedicated Host. For example, m5
.
instanceFamily
- The instance family supported by the Dedicated Host. For example, m5
.public String getInstanceFamily()
The instance family supported by the Dedicated Host. For example, m5
.
m5
.public HostProperties withInstanceFamily(String instanceFamily)
The instance family supported by the Dedicated Host. For example, m5
.
instanceFamily
- The instance family supported by the Dedicated Host. For example, m5
.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 setTotalVCpus(Integer totalVCpus)
The total number of vCPUs on the Dedicated Host.
totalVCpus
- The total number of vCPUs on the Dedicated Host.public Integer getTotalVCpus()
The total number of vCPUs on the Dedicated Host.
public HostProperties withTotalVCpus(Integer totalVCpus)
The total number of vCPUs on the Dedicated Host.
totalVCpus
- The total number of vCPUs on the Dedicated Host.public String toString()
toString
in class Object
Object.toString()
public HostProperties clone()