@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostProperties extends Object implements Serializable, Cloneable
Describes 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 |
getInstanceType()
The instance type size that the Dedicated Host supports (for example,
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 (for example,
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 (for example,
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 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 size that the Dedicated Host supports (for example, m3.medium
).
instanceType
- The instance type size that the Dedicated Host supports (for example, m3.medium
).public String getInstanceType()
The instance type size that the Dedicated Host supports (for example, m3.medium
).
m3.medium
).public HostProperties withInstanceType(String instanceType)
The instance type size that the Dedicated Host supports (for example, m3.medium
).
instanceType
- The instance type size that the Dedicated Host supports (for example, m3.medium
).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 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 String toString()
toString
in class Object
Object.toString()
public HostProperties clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.