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