Package com.amazonaws.services.ec2.model
Class HostProperties
java.lang.Object
com.amazonaws.services.ec2.model.HostProperties
- All Implemented Interfaces:
Serializable
,Cloneable
Describes properties of a Dedicated host.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCores()
The number of cores on the Dedicated host.The instance type size that the Dedicated host supports (for example, m3.medium).The number of sockets on the Dedicated host.The number of vCPUs on the Dedicated host.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.The number of cores on the Dedicated host.withInstanceType
(String instanceType) The instance type size that the Dedicated host supports (for example, m3.medium).withSockets
(Integer sockets) The number of sockets on the Dedicated host.withTotalVCpus
(Integer totalVCpus) The number of vCPUs on the Dedicated host.
-
Constructor Details
-
HostProperties
public HostProperties()
-
-
Method Details
-
setSockets
The number of sockets on the Dedicated host.
- Parameters:
sockets
- The number of sockets on the Dedicated host.
-
getSockets
The number of sockets on the Dedicated host.
- Returns:
- The number of sockets on the Dedicated host.
-
withSockets
The number of sockets on the Dedicated host.
- Parameters:
sockets
- The number of sockets on the Dedicated host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCores
The number of cores on the Dedicated host.
- Parameters:
cores
- The number of cores on the Dedicated host.
-
getCores
The number of cores on the Dedicated host.
- Returns:
- The number of cores on the Dedicated host.
-
withCores
The number of cores on the Dedicated host.
- Parameters:
cores
- The number of cores on the Dedicated host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTotalVCpus
The number of vCPUs on the Dedicated host.
- Parameters:
totalVCpus
- The number of vCPUs on the Dedicated host.
-
getTotalVCpus
The number of vCPUs on the Dedicated host.
- Returns:
- The number of vCPUs on the Dedicated host.
-
withTotalVCpus
The number of vCPUs on the Dedicated host.
- Parameters:
totalVCpus
- The number of vCPUs on the Dedicated host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceType
The instance type size that the Dedicated host supports (for example, m3.medium).
- Parameters:
instanceType
- The instance type size that the Dedicated host supports (for example, m3.medium).
-
getInstanceType
The instance type size that the Dedicated host supports (for example, m3.medium).
- Returns:
- The instance type size that the Dedicated host supports (for example, m3.medium).
-
withInstanceType
The instance type size that the Dedicated host supports (for example, m3.medium).
- Parameters:
instanceType
- The instance type size that the Dedicated host supports (for example, m3.medium).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-