Class TableRestoreStatus
- java.lang.Object
-
- software.amazon.awssdk.services.redshiftserverless.model.TableRestoreStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
@Generated("software.amazon.awssdk:codegen") public final class TableRestoreStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
Contains information about a table restore request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTableRestoreStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableRestoreStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A message that explains the returned status.StringnamespaceName()The namespace of the table being restored from.StringnewTableName()The name of the table to create from the restore operation.LongprogressInMegaBytes()The amount of data restored to the new table so far, in megabytes (MB).StringrecoveryPointId()The ID of the recovery point being restored from.InstantrequestTime()The time that the table restore request was made, in Universal Coordinated Time (UTC).List<SdkField<?>>sdkFields()static Class<? extends TableRestoreStatus.Builder>serializableBuilderClass()StringsnapshotName()The name of the snapshot being restored from.StringsourceDatabaseName()The name of the source database being restored from.StringsourceSchemaName()The name of the source schema being restored from.StringsourceTableName()The name of the source table being restored from.Stringstatus()A value that describes the current state of the table restore request.StringtableRestoreRequestId()The ID of the RestoreTableFromSnapshot request.StringtargetDatabaseName()The name of the database to restore to.StringtargetSchemaName()The name of the schema to restore to.TableRestoreStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalDataInMegaBytes()The total amount of data to restore to the new table, in megabytes (MB).StringworkgroupName()The name of the workgroup being restored from.-
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
-
message
public final String 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
public final String namespaceName()
The namespace of the table being restored from.
- Returns:
- The namespace of the table being restored from.
-
newTableName
public final String 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
public final Long 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
public final String recoveryPointId()
The ID of the recovery point being restored from.
- Returns:
- The ID of the recovery point being restored from.
-
requestTime
public final Instant 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
public final String snapshotName()
The name of the snapshot being restored from.
- Returns:
- The name of the snapshot being restored from.
-
sourceDatabaseName
public final String sourceDatabaseName()
The name of the source database being restored from.
- Returns:
- The name of the source database being restored from.
-
sourceSchemaName
public final String sourceSchemaName()
The name of the source schema being restored from.
- Returns:
- The name of the source schema being restored from.
-
sourceTableName
public final String sourceTableName()
The name of the source table being restored from.
- Returns:
- The name of the source table being restored from.
-
status
public final String 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
public final String tableRestoreRequestId()
The ID of the RestoreTableFromSnapshot request.
- Returns:
- The ID of the RestoreTableFromSnapshot request.
-
targetDatabaseName
public final String targetDatabaseName()
The name of the database to restore to.
- Returns:
- The name of the database to restore to.
-
targetSchemaName
public final String targetSchemaName()
The name of the schema to restore to.
- Returns:
- The name of the schema to restore to.
-
totalDataInMegaBytes
public final Long 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
public final String workgroupName()
The name of the workgroup being restored from.
- Returns:
- The name of the workgroup being restored from.
-
toBuilder
public TableRestoreStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
-
builder
public static TableRestoreStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends TableRestoreStatus.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.
-
-