Package com.amazonaws.services.ec2.model
Class HostInstance
java.lang.Object
com.amazonaws.services.ec2.model.HostInstance
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an instance running on a Dedicated host.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
the IDs of instances that are running on the Dedicated host.The instance type size (for example, m3.medium) of the running instance.int
hashCode()
void
setInstanceId
(String instanceId) the IDs of instances that are running on the Dedicated host.void
setInstanceType
(String instanceType) The instance type size (for example, m3.medium) of the running instance.toString()
Returns a string representation of this object; useful for testing and debugging.withInstanceId
(String instanceId) the IDs of instances that are running on the Dedicated host.withInstanceType
(String instanceType) The instance type size (for example, m3.medium) of the running instance.
-
Constructor Details
-
HostInstance
public HostInstance()
-
-
Method Details
-
setInstanceId
the IDs of instances that are running on the Dedicated host.
- Parameters:
instanceId
- the IDs of instances that are running on the Dedicated host.
-
getInstanceId
the IDs of instances that are running on the Dedicated host.
- Returns:
- the IDs of instances that are running on the Dedicated host.
-
withInstanceId
the IDs of instances that are running on the Dedicated host.
- Parameters:
instanceId
- the IDs of instances that are running on the Dedicated host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceType
The instance type size (for example, m3.medium) of the running instance.
- Parameters:
instanceType
- The instance type size (for example, m3.medium) of the running instance.
-
getInstanceType
The instance type size (for example, m3.medium) of the running instance.
- Returns:
- The instance type size (for example, m3.medium) of the running instance.
-
withInstanceType
The instance type size (for example, m3.medium) of the running instance.
- Parameters:
instanceType
- The instance type size (for example, m3.medium) of the running instance.- 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
-