@Generated(value="software.amazon.awssdk:codegen") public class TableRestoreStatus extends Object implements ToCopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
Describes the status of a RestoreTableFromClusterSnapshot operation.
Modifier and Type | Class and Description |
---|---|
static interface |
TableRestoreStatus.Builder |
Modifier and Type | Method and Description |
---|---|
static TableRestoreStatus.Builder |
builder() |
String |
clusterIdentifier()
The identifier of the Amazon Redshift cluster that the table is being restored to.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A description of the status of the table restore request.
|
String |
newTableName()
The name of the table to create as a result of the table restore request.
|
Long |
progressInMegaBytes()
The amount of data restored to the new table so far, in megabytes (MB).
|
Instant |
requestTime()
The time that the table restore request was made, in Universal Coordinated Time (UTC).
|
static Class<? extends TableRestoreStatus.Builder> |
serializableBuilderClass() |
String |
snapshotIdentifier()
The identifier of the snapshot that the table is being restored from.
|
String |
sourceDatabaseName()
The name of the source database that contains the table being restored.
|
String |
sourceSchemaName()
The name of the source schema that contains the table being restored.
|
String |
sourceTableName()
The name of the source table being restored.
|
TableRestoreStatusType |
status()
A value that describes the current state of the table restore request.
|
String |
statusString()
A value that describes the current state of the table restore request.
|
String |
tableRestoreRequestId()
The unique identifier for the table restore request.
|
String |
targetDatabaseName()
The name of the database to restore the table to.
|
String |
targetSchemaName()
The name of the schema to restore the table to.
|
TableRestoreStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
totalDataInMegaBytes()
The total amount of data to restore to the new table, in megabytes (MB).
|
copy
public String tableRestoreRequestId()
The unique identifier for the table restore request.
public TableRestoreStatusType status()
A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
, CANCELED
, PENDING
,
IN_PROGRESS
If the service returns an enum value that is not available in the current SDK version, status
will
return TableRestoreStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusString()
.
Valid Values: SUCCEEDED
, FAILED
, CANCELED
, PENDING
,
IN_PROGRESS
TableRestoreStatusType
public String statusString()
A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
, CANCELED
, PENDING
,
IN_PROGRESS
If the service returns an enum value that is not available in the current SDK version, status
will
return TableRestoreStatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusString()
.
Valid Values: SUCCEEDED
, FAILED
, CANCELED
, PENDING
,
IN_PROGRESS
TableRestoreStatusType
public String message()
A description of the status of the table restore request. Status values include SUCCEEDED
,
FAILED
, CANCELED
, PENDING
, IN_PROGRESS
.
SUCCEEDED
,
FAILED
, CANCELED
, PENDING
, IN_PROGRESS
.public Instant requestTime()
The time that the table restore request was made, in Universal Coordinated Time (UTC).
public Long progressInMegaBytes()
The amount of data restored to the new table so far, in megabytes (MB).
public Long totalDataInMegaBytes()
The total amount of data to restore to the new table, in megabytes (MB).
public String clusterIdentifier()
The identifier of the Amazon Redshift cluster that the table is being restored to.
public String snapshotIdentifier()
The identifier of the snapshot that the table is being restored from.
public String sourceDatabaseName()
The name of the source database that contains the table being restored.
public String sourceSchemaName()
The name of the source schema that contains the table being restored.
public String sourceTableName()
The name of the source table being restored.
public String targetDatabaseName()
The name of the database to restore the table to.
public String targetSchemaName()
The name of the schema to restore the table to.
public String newTableName()
The name of the table to create as a result of the table restore request.
public TableRestoreStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
public static TableRestoreStatus.Builder builder()
public static Class<? extends TableRestoreStatus.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.