@Generated(value="software.amazon.awssdk:codegen") public class NotifyMigrationTaskStateRequest extends MigrationHubRequest implements ToCopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
NotifyMigrationTaskStateRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static NotifyMigrationTaskStateRequest.Builder |
builder() |
Boolean |
dryRun()
Optional boolean flag to indicate whether any effect should take place.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
migrationTaskName()
Unique identifier that references the migration task.
|
Integer |
nextUpdateSeconds()
Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update.
|
String |
progressUpdateStream()
The name of the ProgressUpdateStream.
|
static Class<? extends NotifyMigrationTaskStateRequest.Builder> |
serializableBuilderClass() |
Task |
task()
Information about the task's progress and status.
|
NotifyMigrationTaskStateRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
updateDateTime()
The timestamp when the task was gathered.
|
requestOverrideConfig
copy
public String progressUpdateStream()
The name of the ProgressUpdateStream.
public String migrationTaskName()
Unique identifier that references the migration task.
public Task task()
Information about the task's progress and status.
public Instant updateDateTime()
The timestamp when the task was gathered.
public 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.
public 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.
public NotifyMigrationTaskStateRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NotifyMigrationTaskStateRequest.Builder,NotifyMigrationTaskStateRequest>
toBuilder
in class MigrationHubRequest
public static NotifyMigrationTaskStateRequest.Builder builder()
public static Class<? extends NotifyMigrationTaskStateRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.