@Generated(value="software.amazon.awssdk:codegen") public final class Host extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Host.Builder,Host>
Describes the properties of the Dedicated Host.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Host.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Host.Builder |
builder() |
String |
ec2InstanceId()
The ID of Amazon EC2 instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostIp()
The IP address of the Dedicated Host.
|
String |
hostName()
The name of the Dedicated Host.
|
HostRole |
hostRole()
The role of the Dedicated Host.
|
String |
hostRoleAsString()
The role of the Dedicated Host.
|
String |
instanceId()
The instance ID of the instance on the Dedicated Host.
|
String |
osVersion()
The version of the operating system.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Host.Builder> |
serializableBuilderClass() |
Host.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hostName()
The name of the Dedicated Host.
public final String hostIp()
The IP address of the Dedicated Host.
public final String ec2InstanceId()
The ID of Amazon EC2 instance.
public final String instanceId()
The instance ID of the instance on the Dedicated Host.
public final HostRole hostRole()
The role of the Dedicated Host.
If the service returns an enum value that is not available in the current SDK version, hostRole will
return HostRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hostRoleAsString().
HostRolepublic final String hostRoleAsString()
The role of the Dedicated Host.
If the service returns an enum value that is not available in the current SDK version, hostRole will
return HostRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hostRoleAsString().
HostRolepublic final String osVersion()
The version of the operating system.
public Host.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Host.Builder,Host>public static Host.Builder builder()
public static Class<? extends Host.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.