@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Host extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of the Dedicated Host.
Constructor and Description |
---|
Host() |
Modifier and Type | Method and Description |
---|---|
Host |
clone() |
boolean |
equals(Object obj) |
String |
getHostIp()
The IP address of the Dedicated Host.
|
String |
getHostName()
The name of the Dedicated Host.
|
String |
getHostRole()
The role of the Dedicated Host.
|
String |
getInstanceId()
The instance ID of the instance on the Dedicated Host.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHostIp(String hostIp)
The IP address of the Dedicated Host.
|
void |
setHostName(String hostName)
The name of the Dedicated Host.
|
void |
setHostRole(String hostRole)
The role of the Dedicated Host.
|
void |
setInstanceId(String instanceId)
The instance ID of the instance on the Dedicated Host.
|
String |
toString()
Returns a string representation of this object.
|
Host |
withHostIp(String hostIp)
The IP address of the Dedicated Host.
|
Host |
withHostName(String hostName)
The name of the Dedicated Host.
|
Host |
withHostRole(HostRole hostRole)
The role of the Dedicated Host.
|
Host |
withHostRole(String hostRole)
The role of the Dedicated Host.
|
Host |
withInstanceId(String instanceId)
The instance ID of the instance on the Dedicated Host.
|
public void setHostName(String hostName)
The name of the Dedicated Host.
hostName
- The name of the Dedicated Host.public String getHostName()
The name of the Dedicated Host.
public Host withHostName(String hostName)
The name of the Dedicated Host.
hostName
- The name of the Dedicated Host.public void setHostRole(String hostRole)
The role of the Dedicated Host.
hostRole
- The role of the Dedicated Host.HostRole
public String getHostRole()
The role of the Dedicated Host.
HostRole
public Host withHostRole(String hostRole)
The role of the Dedicated Host.
hostRole
- The role of the Dedicated Host.HostRole
public Host withHostRole(HostRole hostRole)
The role of the Dedicated Host.
hostRole
- The role of the Dedicated Host.HostRole
public void setHostIp(String hostIp)
The IP address of the Dedicated Host.
hostIp
- The IP address of the Dedicated Host.public String getHostIp()
The IP address of the Dedicated Host.
public Host withHostIp(String hostIp)
The IP address of the Dedicated Host.
hostIp
- The IP address of the Dedicated Host.public void setInstanceId(String instanceId)
The instance ID of the instance on the Dedicated Host.
instanceId
- The instance ID of the instance on the Dedicated Host.public String getInstanceId()
The instance ID of the instance on the Dedicated Host.
public Host withInstanceId(String instanceId)
The instance ID of the instance on the Dedicated Host.
instanceId
- The instance ID of the instance on the Dedicated Host.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.