Class HostInstance
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.HostInstance
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<HostInstance.Builder,HostInstance>
@Generated("software.amazon.awssdk:codegen") public final class HostInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostInstance.Builder,HostInstance>
Describes an instance running on a Dedicated Host.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
HostInstance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostInstance.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
instanceId()
The ID of instance that is running on the Dedicated Host.String
instanceType()
The instance type (for example,m3.medium
) of the running instance.String
ownerId()
The ID of the Amazon Web Services account that owns the instance.List<SdkField<?>>
sdkFields()
static Class<? extends HostInstance.Builder>
serializableBuilderClass()
HostInstance.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceId
public final String instanceId()
The ID of instance that is running on the Dedicated Host.
- Returns:
- The ID of instance that is running on the Dedicated Host.
-
instanceType
public final String instanceType()
The instance type (for example,
m3.medium
) of the running instance.- Returns:
- The instance type (for example,
m3.medium
) of the running instance.
-
ownerId
public final String ownerId()
The ID of the Amazon Web Services account that owns the instance.
- Returns:
- The ID of the Amazon Web Services account that owns the instance.
-
toBuilder
public HostInstance.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<HostInstance.Builder,HostInstance>
-
builder
public static HostInstance.Builder builder()
-
serializableBuilderClass
public static Class<? extends HostInstance.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-