Class MigrationTaskUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhub.model.MigrationTaskUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MigrationTaskUpdate.Builder,MigrationTaskUpdate>
@Generated("software.amazon.awssdk:codegen") public final class MigrationTaskUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MigrationTaskUpdate.Builder,MigrationTaskUpdate>
A migration-task progress update.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMigrationTaskUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MigrationTaskUpdate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()TaskmigrationTaskState()Returns the value of the MigrationTaskState property for this object.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MigrationTaskUpdate.Builder>serializableBuilderClass()MigrationTaskUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateDateTime()The timestamp for the update.UpdateTypeupdateType()The type of the update.StringupdateTypeAsString()The type of the update.-
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
-
updateDateTime
public final Instant updateDateTime()
The timestamp for the update.
- Returns:
- The timestamp for the update.
-
updateType
public final UpdateType updateType()
The type of the update.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The type of the update.
- See Also:
UpdateType
-
updateTypeAsString
public final String updateTypeAsString()
The type of the update.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The type of the update.
- See Also:
UpdateType
-
migrationTaskState
public final Task migrationTaskState()
Returns the value of the MigrationTaskState property for this object.- Returns:
- The value of the MigrationTaskState property for this object.
-
toBuilder
public MigrationTaskUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MigrationTaskUpdate.Builder,MigrationTaskUpdate>
-
builder
public static MigrationTaskUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends MigrationTaskUpdate.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-