public class HostInstance
extends java.lang.Object
implements java.io.Serializable
Describes an instance running on a Dedicated host.
Constructor and Description |
---|
HostInstance() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
the IDs of instances that are running on the Dedicated host.
|
java.lang.String |
getInstanceType()
The instance type size (for example, m3.medium) of the running
instance.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
the IDs of instances that are running on the Dedicated host.
|
void |
setInstanceType(java.lang.String instanceType)
The instance type size (for example, m3.medium) of the running
instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HostInstance |
withInstanceId(java.lang.String instanceId)
the IDs of instances that are running on the Dedicated host.
|
HostInstance |
withInstanceType(java.lang.String instanceType)
The instance type size (for example, m3.medium) of the running
instance.
|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- the IDs of instances that are running on the Dedicated host.public HostInstance withInstanceId(java.lang.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 java.lang.String getInstanceType()
public void setInstanceType(java.lang.String instanceType)
instanceType
- The instance type size (for example, m3.medium) of the running
instance.public HostInstance withInstanceType(java.lang.String instanceType)
Returns a reference to this object so that method calls can be chained together.
instanceType
- The instance type size (for example, m3.medium) of the running
instance.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.