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 Integer getSockets()
public void setSockets(Integer sockets)
sockets
- The number of sockets on the Dedicated host.public HostProperties withSockets(Integer sockets)
Returns a reference to this object so that method calls can be chained together.
sockets
- The number of sockets on the Dedicated host.public Integer getCores()
public void setCores(Integer cores)
cores
- The number of cores on the Dedicated host.public HostProperties withCores(Integer cores)
Returns a reference to this object so that method calls can be chained together.
cores
- The number of cores on the Dedicated host.public Integer getTotalVCpus()
public void setTotalVCpus(Integer totalVCpus)
totalVCpus
- The number of vCPUs on the Dedicated host.public HostProperties withTotalVCpus(Integer totalVCpus)
Returns a reference to this object so that method calls can be chained together.
totalVCpus
- The number of vCPUs on the Dedicated host.public String getInstanceType()
public void setInstanceType(String instanceType)
instanceType
- The instance type size that the Dedicated host supports (e.g.,
m3.medium).public HostProperties withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.