@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 |
getEC2InstanceId()
The ID of Amazon EC2 instance.
|
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.
|
String |
getOsVersion()
The version of the operating system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEC2InstanceId(String eC2InstanceId)
The ID of Amazon EC2 instance.
|
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.
|
void |
setOsVersion(String osVersion)
The version of the operating system.
|
String |
toString()
Returns a string representation of this object.
|
Host |
withEC2InstanceId(String eC2InstanceId)
The ID of Amazon EC2 instance.
|
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.
|
Host |
withOsVersion(String osVersion)
The version of the operating system.
|
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 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 setEC2InstanceId(String eC2InstanceId)
The ID of Amazon EC2 instance.
eC2InstanceId
- The ID of Amazon EC2 instance.public String getEC2InstanceId()
The ID of Amazon EC2 instance.
public Host withEC2InstanceId(String eC2InstanceId)
The ID of Amazon EC2 instance.
eC2InstanceId
- The ID of Amazon EC2 instance.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 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 setOsVersion(String osVersion)
The version of the operating system.
osVersion
- The version of the operating system.public String getOsVersion()
The version of the operating system.
public Host withOsVersion(String osVersion)
The version of the operating system.
osVersion
- The version of the operating system.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.