Class TableRestoreStatus
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
Contains information about a table restore request.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TableRestoreStatus.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()A message that explains the returned status.final StringThe namespace of the table being restored from.final StringThe name of the table to create from the restore operation.final LongThe amount of data restored to the new table so far, in megabytes (MB).final StringThe ID of the recovery point being restored from.final InstantThe time that the table restore request was made, in Universal Coordinated Time (UTC).static Class<? extends TableRestoreStatus.Builder> final StringThe name of the snapshot being restored from.final StringThe name of the source database being restored from.final StringThe name of the source schema being restored from.final StringThe name of the source table being restored from.final Stringstatus()A value that describes the current state of the table restore request.final StringThe ID of the RestoreTableFromSnapshot request.final StringThe name of the database to restore to.final StringThe name of the schema to restore to.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final LongThe total amount of data to restore to the new table, in megabytes (MB).final StringThe name of the workgroup being restored from.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
message
A message that explains the returned status. For example, if the status of the operation is
FAILED, the message explains why the operation failed.- Returns:
- A message that explains the returned status. For example, if the status of the operation is
FAILED, the message explains why the operation failed.
-
namespaceName
The namespace of the table being restored from.
- Returns:
- The namespace of the table being restored from.
-
newTableName
The name of the table to create from the restore operation.
- Returns:
- The name of the table to create from the restore operation.
-
progressInMegaBytes
The amount of data restored to the new table so far, in megabytes (MB).
- Returns:
- The amount of data restored to the new table so far, in megabytes (MB).
-
recoveryPointId
The ID of the recovery point being restored from.
- Returns:
- The ID of the recovery point being restored from.
-
requestTime
The time that the table restore request was made, in Universal Coordinated Time (UTC).
- Returns:
- The time that the table restore request was made, in Universal Coordinated Time (UTC).
-
snapshotName
The name of the snapshot being restored from.
- Returns:
- The name of the snapshot being restored from.
-
sourceDatabaseName
The name of the source database being restored from.
- Returns:
- The name of the source database being restored from.
-
sourceSchemaName
The name of the source schema being restored from.
- Returns:
- The name of the source schema being restored from.
-
sourceTableName
The name of the source table being restored from.
- Returns:
- The name of the source table being restored from.
-
status
A value that describes the current state of the table restore request. Possible values are
SUCCEEDED,FAILED,CANCELED,PENDING, andIN_PROGRESS.- Returns:
- A value that describes the current state of the table restore request. Possible values are
SUCCEEDED,FAILED,CANCELED,PENDING, andIN_PROGRESS.
-
tableRestoreRequestId
The ID of the RestoreTableFromSnapshot request.
- Returns:
- The ID of the RestoreTableFromSnapshot request.
-
targetDatabaseName
The name of the database to restore to.
- Returns:
- The name of the database to restore to.
-
targetSchemaName
The name of the schema to restore to.
- Returns:
- The name of the schema to restore to.
-
totalDataInMegaBytes
The total amount of data to restore to the new table, in megabytes (MB).
- Returns:
- The total amount of data to restore to the new table, in megabytes (MB).
-
workgroupName
The name of the workgroup being restored from.
- Returns:
- The name of the workgroup being restored from.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-