@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostInstance extends Object implements Serializable, Cloneable
Describes an instance running on a Dedicated Host.
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 (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. |
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 (for example,
m3.medium ) of the running instance. |
public void setInstanceId(String instanceId)
the IDs of instances that are running on the Dedicated Host.
instanceId
- the IDs of instances that are running on the Dedicated Host.public String getInstanceId()
the IDs of instances that are running on the Dedicated Host.
public HostInstance withInstanceId(String instanceId)
the IDs of instances that are running on the Dedicated Host.
instanceId
- the IDs of instances that are running on the Dedicated Host.public void setInstanceType(String instanceType)
The instance type size (for example, m3.medium
) of the running instance.
instanceType
- The instance type size (for example, m3.medium
) of the running instance.public String getInstanceType()
The instance type size (for example, m3.medium
) of the running instance.
m3.medium
) of the running instance.public HostInstance withInstanceType(String instanceType)
The instance type size (for example, m3.medium
) of the running instance.
instanceType
- The instance type size (for example, m3.medium
) of the running instance.public String toString()
toString
in class Object
Object.toString()
public HostInstance clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.