Class TableRestoreStatus
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.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>
Describes the status of a RestoreTableFromClusterSnapshot operation.
- 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()StringclusterIdentifier()The identifier of the Amazon Redshift cluster that the table is being restored to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A description of the status of the table restore request.StringnewTableName()The name of the table to create as a result of the table restore request.LongprogressInMegaBytes()The amount of data restored to the new table so far, in megabytes (MB).InstantrequestTime()The time that the table restore request was made, in Universal Coordinated Time (UTC).List<SdkField<?>>sdkFields()static Class<? extends TableRestoreStatus.Builder>serializableBuilderClass()StringsnapshotIdentifier()The identifier of the snapshot that the table is being restored from.StringsourceDatabaseName()The name of the source database that contains the table being restored.StringsourceSchemaName()The name of the source schema that contains the table being restored.StringsourceTableName()The name of the source table being restored.TableRestoreStatusTypestatus()A value that describes the current state of the table restore request.StringstatusAsString()A value that describes the current state of the table restore request.StringtableRestoreRequestId()The unique identifier for the table restore request.StringtargetDatabaseName()The name of the database to restore the table to.StringtargetSchemaName()The name of the schema to restore the table 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).-
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
-
tableRestoreRequestId
public final String tableRestoreRequestId()
The unique identifier for the table restore request.
- Returns:
- The unique identifier for the table restore request.
-
status
public final TableRestoreStatusType status()
A value that describes the current state of the table restore request.
Valid Values:
SUCCEEDED,FAILED,CANCELED,PENDING,IN_PROGRESSIf the service returns an enum value that is not available in the current SDK version,
statuswill returnTableRestoreStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A value that describes the current state of the table restore request.
Valid Values:
SUCCEEDED,FAILED,CANCELED,PENDING,IN_PROGRESS - See Also:
TableRestoreStatusType
-
statusAsString
public final String statusAsString()
A value that describes the current state of the table restore request.
Valid Values:
SUCCEEDED,FAILED,CANCELED,PENDING,IN_PROGRESSIf the service returns an enum value that is not available in the current SDK version,
statuswill returnTableRestoreStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A value that describes the current state of the table restore request.
Valid Values:
SUCCEEDED,FAILED,CANCELED,PENDING,IN_PROGRESS - See Also:
TableRestoreStatusType
-
message
public final String message()
A description of the status of the table restore request. Status values include
SUCCEEDED,FAILED,CANCELED,PENDING,IN_PROGRESS.- Returns:
- A description of the status of the table restore request. Status values include
SUCCEEDED,FAILED,CANCELED,PENDING,IN_PROGRESS.
-
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).
-
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).
-
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).
-
clusterIdentifier
public final String clusterIdentifier()
The identifier of the Amazon Redshift cluster that the table is being restored to.
- Returns:
- The identifier of the Amazon Redshift cluster that the table is being restored to.
-
snapshotIdentifier
public final String snapshotIdentifier()
The identifier of the snapshot that the table is being restored from.
- Returns:
- The identifier of the snapshot that the table is being restored from.
-
sourceDatabaseName
public final String sourceDatabaseName()
The name of the source database that contains the table being restored.
- Returns:
- The name of the source database that contains the table being restored.
-
sourceSchemaName
public final String sourceSchemaName()
The name of the source schema that contains the table being restored.
- Returns:
- The name of the source schema that contains the table being restored.
-
sourceTableName
public final String sourceTableName()
The name of the source table being restored.
- Returns:
- The name of the source table being restored.
-
targetDatabaseName
public final String targetDatabaseName()
The name of the database to restore the table to.
- Returns:
- The name of the database to restore the table to.
-
targetSchemaName
public final String targetSchemaName()
The name of the schema to restore the table to.
- Returns:
- The name of the schema to restore the table to.
-
newTableName
public final String newTableName()
The name of the table to create as a result of the table restore request.
- Returns:
- The name of the table to create as a result of the table restore request.
-
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.
-
-