Class LaunchedInstance
- java.lang.Object
-
- software.amazon.awssdk.services.mgn.model.LaunchedInstance
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchedInstance.Builder,LaunchedInstance>
@Generated("software.amazon.awssdk:codegen") public final class LaunchedInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchedInstance.Builder,LaunchedInstance>
Launched instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLaunchedInstance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchedInstance.Builderbuilder()Stringec2InstanceID()Launched instance EC2 ID.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FirstBootfirstBoot()Launched instance first boot.StringfirstBootAsString()Launched instance first boot.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobID()Launched instance Job ID.List<SdkField<?>>sdkFields()static Class<? extends LaunchedInstance.Builder>serializableBuilderClass()LaunchedInstance.BuildertoBuilder()StringtoString()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
-
ec2InstanceID
public final String ec2InstanceID()
Launched instance EC2 ID.
- Returns:
- Launched instance EC2 ID.
-
firstBoot
public final FirstBoot firstBoot()
Launched instance first boot.
If the service returns an enum value that is not available in the current SDK version,
firstBootwill returnFirstBoot.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfirstBootAsString().- Returns:
- Launched instance first boot.
- See Also:
FirstBoot
-
firstBootAsString
public final String firstBootAsString()
Launched instance first boot.
If the service returns an enum value that is not available in the current SDK version,
firstBootwill returnFirstBoot.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfirstBootAsString().- Returns:
- Launched instance first boot.
- See Also:
FirstBoot
-
jobID
public final String jobID()
Launched instance Job ID.
- Returns:
- Launched instance Job ID.
-
toBuilder
public LaunchedInstance.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchedInstance.Builder,LaunchedInstance>
-
builder
public static LaunchedInstance.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchedInstance.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-