public class HostProperties
extends java.lang.Object
implements java.io.Serializable
Describes properties of a Dedicated host.
Constructor and Description |
---|
HostProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCores()
The number of cores on the Dedicated host.
|
java.lang.String |
getInstanceType()
The instance type size that the Dedicated host supports (for example,
m3.medium).
|
java.lang.Integer |
getSockets()
The number of sockets on the Dedicated host.
|
java.lang.Integer |
getTotalVCpus()
The number of vCPUs on the Dedicated host.
|
int |
hashCode() |
void |
setCores(java.lang.Integer cores)
The number of cores on the Dedicated host.
|
void |
setInstanceType(java.lang.String instanceType)
The instance type size that the Dedicated host supports (for example,
m3.medium).
|
void |
setSockets(java.lang.Integer sockets)
The number of sockets on the Dedicated host.
|
void |
setTotalVCpus(java.lang.Integer totalVCpus)
The number of vCPUs on the Dedicated host.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HostProperties |
withCores(java.lang.Integer cores)
The number of cores on the Dedicated host.
|
HostProperties |
withInstanceType(java.lang.String instanceType)
The instance type size that the Dedicated host supports (for example,
m3.medium).
|
HostProperties |
withSockets(java.lang.Integer sockets)
The number of sockets on the Dedicated host.
|
HostProperties |
withTotalVCpus(java.lang.Integer totalVCpus)
The number of vCPUs on the Dedicated host.
|
public java.lang.Integer getSockets()
public void setSockets(java.lang.Integer sockets)
sockets
- The number of sockets on the Dedicated host.public HostProperties withSockets(java.lang.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 java.lang.Integer getCores()
public void setCores(java.lang.Integer cores)
cores
- The number of cores on the Dedicated host.public HostProperties withCores(java.lang.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 java.lang.Integer getTotalVCpus()
public void setTotalVCpus(java.lang.Integer totalVCpus)
totalVCpus
- The number of vCPUs on the Dedicated host.public HostProperties withTotalVCpus(java.lang.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 java.lang.String getInstanceType()
public void setInstanceType(java.lang.String instanceType)
instanceType
- The instance type size that the Dedicated host supports (for example,
m3.medium).public HostProperties withInstanceType(java.lang.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 (for example,
m3.medium).public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.