public class HostInstance extends Object implements Serializable, Cloneable
Constructor and Description |
---|
HostInstance() |
Modifier and Type | Method and Description |
---|---|
HostInstance |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
the IDs of instances that are running on the Dedicated host.
|
String |
getInstanceType()
The instance type size (e.g., 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 (e.g., m3.medium) of the running instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HostInstance |
withInstanceId(String instanceId)
the IDs of instances that are running on the Dedicated host.
|
HostInstance |
withInstanceType(String instanceType)
The instance type size (e.g., m3.medium) of the running instance.
|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- the IDs of instances that are running on the Dedicated host.public HostInstance withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- the IDs of instances that are running on the Dedicated host.public String getInstanceType()
public void setInstanceType(String instanceType)
instanceType
- The instance type size (e.g., m3.medium) of the running instance.public HostInstance withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
instanceType
- The instance type size (e.g., m3.medium) of the running instance.public String toString()
toString
in class Object
Object.toString()
public HostInstance clone()
Copyright © 2015. All rights reserved.