public class TableRestoreStatus extends Object implements Serializable, Cloneable
Describes the status of a RestoreTableFromClusterSnapshot operation.
Constructor and Description |
---|
TableRestoreStatus() |
Modifier and Type | Method and Description |
---|---|
TableRestoreStatus |
clone() |
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The identifier of the Amazon Redshift cluster that the table is being
restored to.
|
String |
getMessage()
A description of the status of the table restore request.
|
String |
getNewTableName()
The name of the table to create as a result of the table restore
request.
|
Long |
getProgressInMegaBytes()
The amount of data restored to the new table so far, in megabytes
(MB).
|
Date |
getRequestTime()
The time that the table restore request was made, in Universal
Coordinated Time (UTC).
|
String |
getSnapshotIdentifier()
The identifier of the snapshot that the table is being restored from.
|
String |
getSourceDatabaseName()
The name of the source database that contains the table being
restored.
|
String |
getSourceSchemaName()
The name of the source schema that contains the table being restored.
|
String |
getSourceTableName()
The name of the source table being restored.
|
String |
getStatus()
A value that describes the current state of the table restore request.
|
String |
getTableRestoreRequestId()
The unique identifier for the table restore request.
|
String |
getTargetDatabaseName()
The name of the database to restore the table to.
|
String |
getTargetSchemaName()
The name of the schema to restore the table to.
|
Long |
getTotalDataInMegaBytes()
The total amount of data to restore to the new table, in megabytes
(MB).
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The identifier of the Amazon Redshift cluster that the table is being
restored to.
|
void |
setMessage(String message)
A description of the status of the table restore request.
|
void |
setNewTableName(String newTableName)
The name of the table to create as a result of the table restore
request.
|
void |
setProgressInMegaBytes(Long progressInMegaBytes)
The amount of data restored to the new table so far, in megabytes
(MB).
|
void |
setRequestTime(Date requestTime)
The time that the table restore request was made, in Universal
Coordinated Time (UTC).
|
void |
setSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the table is being restored from.
|
void |
setSourceDatabaseName(String sourceDatabaseName)
The name of the source database that contains the table being
restored.
|
void |
setSourceSchemaName(String sourceSchemaName)
The name of the source schema that contains the table being restored.
|
void |
setSourceTableName(String sourceTableName)
The name of the source table being restored.
|
void |
setStatus(String status)
A value that describes the current state of the table restore request.
|
void |
setStatus(TableRestoreStatusType status)
A value that describes the current state of the table restore request.
|
void |
setTableRestoreRequestId(String tableRestoreRequestId)
The unique identifier for the table restore request.
|
void |
setTargetDatabaseName(String targetDatabaseName)
The name of the database to restore the table to.
|
void |
setTargetSchemaName(String targetSchemaName)
The name of the schema to restore the table to.
|
void |
setTotalDataInMegaBytes(Long totalDataInMegaBytes)
The total amount of data to restore to the new table, in megabytes
(MB).
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TableRestoreStatus |
withClusterIdentifier(String clusterIdentifier)
The identifier of the Amazon Redshift cluster that the table is being
restored to.
|
TableRestoreStatus |
withMessage(String message)
A description of the status of the table restore request.
|
TableRestoreStatus |
withNewTableName(String newTableName)
The name of the table to create as a result of the table restore
request.
|
TableRestoreStatus |
withProgressInMegaBytes(Long progressInMegaBytes)
The amount of data restored to the new table so far, in megabytes
(MB).
|
TableRestoreStatus |
withRequestTime(Date requestTime)
The time that the table restore request was made, in Universal
Coordinated Time (UTC).
|
TableRestoreStatus |
withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the table is being restored from.
|
TableRestoreStatus |
withSourceDatabaseName(String sourceDatabaseName)
The name of the source database that contains the table being
restored.
|
TableRestoreStatus |
withSourceSchemaName(String sourceSchemaName)
The name of the source schema that contains the table being restored.
|
TableRestoreStatus |
withSourceTableName(String sourceTableName)
The name of the source table being restored.
|
TableRestoreStatus |
withStatus(String status)
A value that describes the current state of the table restore request.
|
TableRestoreStatus |
withStatus(TableRestoreStatusType status)
A value that describes the current state of the table restore request.
|
TableRestoreStatus |
withTableRestoreRequestId(String tableRestoreRequestId)
The unique identifier for the table restore request.
|
TableRestoreStatus |
withTargetDatabaseName(String targetDatabaseName)
The name of the database to restore the table to.
|
TableRestoreStatus |
withTargetSchemaName(String targetSchemaName)
The name of the schema to restore the table to.
|
TableRestoreStatus |
withTotalDataInMegaBytes(Long totalDataInMegaBytes)
The total amount of data to restore to the new table, in megabytes
(MB).
|
public String getTableRestoreRequestId()
public void setTableRestoreRequestId(String tableRestoreRequestId)
tableRestoreRequestId
- The unique identifier for the table restore request.public TableRestoreStatus withTableRestoreRequestId(String tableRestoreRequestId)
Returns a reference to this object so that method calls can be chained together.
tableRestoreRequestId
- The unique identifier for the table restore request.public String getStatus()
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
Constraints:
Allowed Values: PENDING, IN_PROGRESS, SUCCEEDED, FAILED, CANCELED
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
TableRestoreStatusType
public void setStatus(String status)
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
Constraints:
Allowed Values: PENDING, IN_PROGRESS, SUCCEEDED, FAILED, CANCELED
status
- A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
TableRestoreStatusType
public TableRestoreStatus withStatus(String status)
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, IN_PROGRESS, SUCCEEDED, FAILED, CANCELED
status
- A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
TableRestoreStatusType
public void setStatus(TableRestoreStatusType status)
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
Constraints:
Allowed Values: PENDING, IN_PROGRESS, SUCCEEDED, FAILED, CANCELED
status
- A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
TableRestoreStatusType
public TableRestoreStatus withStatus(TableRestoreStatusType status)
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, IN_PROGRESS, SUCCEEDED, FAILED, CANCELED
status
- A value that describes the current state of the table restore request.
Valid Values: SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
TableRestoreStatusType
public String getMessage()
SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
.SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
.public void setMessage(String message)
SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
.message
- A description of the status of the table restore request. Status
values include SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
.public TableRestoreStatus withMessage(String message)
SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
.
Returns a reference to this object so that method calls can be chained together.
message
- A description of the status of the table restore request. Status
values include SUCCEEDED
, FAILED
,
CANCELED
, PENDING
, IN_PROGRESS
.public Date getRequestTime()
public void setRequestTime(Date requestTime)
requestTime
- The time that the table restore request was made, in Universal
Coordinated Time (UTC).public TableRestoreStatus withRequestTime(Date requestTime)
Returns a reference to this object so that method calls can be chained together.
requestTime
- The time that the table restore request was made, in Universal
Coordinated Time (UTC).public Long getProgressInMegaBytes()
public void setProgressInMegaBytes(Long progressInMegaBytes)
progressInMegaBytes
- The amount of data restored to the new table so far, in megabytes
(MB).public TableRestoreStatus withProgressInMegaBytes(Long progressInMegaBytes)
Returns a reference to this object so that method calls can be chained together.
progressInMegaBytes
- The amount of data restored to the new table so far, in megabytes
(MB).public Long getTotalDataInMegaBytes()
public void setTotalDataInMegaBytes(Long totalDataInMegaBytes)
totalDataInMegaBytes
- The total amount of data to restore to the new table, in megabytes
(MB).public TableRestoreStatus withTotalDataInMegaBytes(Long totalDataInMegaBytes)
Returns a reference to this object so that method calls can be chained together.
totalDataInMegaBytes
- The total amount of data to restore to the new table, in megabytes
(MB).public String getClusterIdentifier()
public void setClusterIdentifier(String clusterIdentifier)
clusterIdentifier
- The identifier of the Amazon Redshift cluster that the table is being
restored to.public TableRestoreStatus withClusterIdentifier(String clusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- The identifier of the Amazon Redshift cluster that the table is being
restored to.public String getSnapshotIdentifier()
public void setSnapshotIdentifier(String snapshotIdentifier)
snapshotIdentifier
- The identifier of the snapshot that the table is being restored from.public TableRestoreStatus withSnapshotIdentifier(String snapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
snapshotIdentifier
- The identifier of the snapshot that the table is being restored from.public String getSourceDatabaseName()
public void setSourceDatabaseName(String sourceDatabaseName)
sourceDatabaseName
- The name of the source database that contains the table being
restored.public TableRestoreStatus withSourceDatabaseName(String sourceDatabaseName)
Returns a reference to this object so that method calls can be chained together.
sourceDatabaseName
- The name of the source database that contains the table being
restored.public String getSourceSchemaName()
public void setSourceSchemaName(String sourceSchemaName)
sourceSchemaName
- The name of the source schema that contains the table being restored.public TableRestoreStatus withSourceSchemaName(String sourceSchemaName)
Returns a reference to this object so that method calls can be chained together.
sourceSchemaName
- The name of the source schema that contains the table being restored.public String getSourceTableName()
public void setSourceTableName(String sourceTableName)
sourceTableName
- The name of the source table being restored.public TableRestoreStatus withSourceTableName(String sourceTableName)
Returns a reference to this object so that method calls can be chained together.
sourceTableName
- The name of the source table being restored.public String getTargetDatabaseName()
public void setTargetDatabaseName(String targetDatabaseName)
targetDatabaseName
- The name of the database to restore the table to.public TableRestoreStatus withTargetDatabaseName(String targetDatabaseName)
Returns a reference to this object so that method calls can be chained together.
targetDatabaseName
- The name of the database to restore the table to.public String getTargetSchemaName()
public void setTargetSchemaName(String targetSchemaName)
targetSchemaName
- The name of the schema to restore the table to.public TableRestoreStatus withTargetSchemaName(String targetSchemaName)
Returns a reference to this object so that method calls can be chained together.
targetSchemaName
- The name of the schema to restore the table to.public String getNewTableName()
public void setNewTableName(String newTableName)
newTableName
- The name of the table to create as a result of the table restore
request.public TableRestoreStatus withNewTableName(String newTableName)
Returns a reference to this object so that method calls can be chained together.
newTableName
- The name of the table to create as a result of the table restore
request.public String toString()
toString
in class Object
Object.toString()
public TableRestoreStatus clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.