Class NotifyMigrationTaskStateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.migrationhub.model.MigrationHubRequest
-
- software.amazon.awssdk.services.migrationhub.model.NotifyMigrationTaskStateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>
@Generated("software.amazon.awssdk:codegen") public final class NotifyMigrationTaskStateRequest extends MigrationHubRequest implements ToCopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotifyMigrationTaskStateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotifyMigrationTaskStateRequest.Builderbuilder()BooleandryRun()Optional boolean flag to indicate whether any effect should take place.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmigrationTaskName()Unique identifier that references the migration task.IntegernextUpdateSeconds()Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update.StringprogressUpdateStream()The name of the ProgressUpdateStream.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NotifyMigrationTaskStateRequest.Builder>serializableBuilderClass()Tasktask()Information about the task's progress and status.NotifyMigrationTaskStateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateDateTime()The timestamp when the task was gathered.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
progressUpdateStream
public final String progressUpdateStream()
The name of the ProgressUpdateStream.
- Returns:
- The name of the ProgressUpdateStream.
-
migrationTaskName
public final String migrationTaskName()
Unique identifier that references the migration task. Do not store personal data in this field.
- Returns:
- Unique identifier that references the migration task. Do not store personal data in this field.
-
task
public final Task task()
Information about the task's progress and status.
- Returns:
- Information about the task's progress and status.
-
updateDateTime
public final Instant updateDateTime()
The timestamp when the task was gathered.
- Returns:
- The timestamp when the task was gathered.
-
nextUpdateSeconds
public final Integer nextUpdateSeconds()
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
- Returns:
- Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.
-
dryRun
public final Boolean dryRun()
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
- Returns:
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
-
toBuilder
public NotifyMigrationTaskStateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>- Specified by:
toBuilderin classMigrationHubRequest
-
builder
public static NotifyMigrationTaskStateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotifyMigrationTaskStateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-