@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setTableRestoreRequestId(String tableRestoreRequestId)
The unique identifier for the table restore request.
tableRestoreRequestId
- The unique identifier for the table restore request.public String getTableRestoreRequestId()
The unique identifier for the table restore request.
public TableRestoreStatus withTableRestoreRequestId(String tableRestoreRequestId)
The unique identifier for the table restore request.
tableRestoreRequestId
- The unique identifier for the table restore request.public void setStatus(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 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(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(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 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(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(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 Date getRequestTime()
The time that the table restore request was made, in Universal Coordinated Time (UTC).
public TableRestoreStatus withRequestTime(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(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 Long getProgressInMegaBytes()
The amount of data restored to the new table so far, in megabytes (MB).
public TableRestoreStatus withProgressInMegaBytes(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(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 Long getTotalDataInMegaBytes()
The total amount of data to restore to the new table, in megabytes (MB).
public TableRestoreStatus withTotalDataInMegaBytes(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(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 String getClusterIdentifier()
The identifier of the Amazon Redshift cluster that the table is being restored to.
public TableRestoreStatus withClusterIdentifier(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(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 String getSnapshotIdentifier()
The identifier of the snapshot that the table is being restored from.
public TableRestoreStatus withSnapshotIdentifier(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(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 String getSourceDatabaseName()
The name of the source database that contains the table being restored.
public TableRestoreStatus withSourceDatabaseName(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(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 String getSourceSchemaName()
The name of the source schema that contains the table being restored.
public TableRestoreStatus withSourceSchemaName(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(String sourceTableName)
The name of the source table being restored.
sourceTableName
- The name of the source table being restored.public String getSourceTableName()
The name of the source table being restored.
public TableRestoreStatus withSourceTableName(String sourceTableName)
The name of the source table being restored.
sourceTableName
- The name of the source table being restored.public void setTargetDatabaseName(String targetDatabaseName)
The name of the database to restore the table to.
targetDatabaseName
- The name of the database to restore the table to.public String getTargetDatabaseName()
The name of the database to restore the table to.
public TableRestoreStatus withTargetDatabaseName(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(String targetSchemaName)
The name of the schema to restore the table to.
targetSchemaName
- The name of the schema to restore the table to.public String getTargetSchemaName()
The name of the schema to restore the table to.
public TableRestoreStatus withTargetSchemaName(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(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 String getNewTableName()
The name of the table to create as a result of the table restore request.
public TableRestoreStatus withNewTableName(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 String toString()
toString
in class Object
Object.toString()
public TableRestoreStatus clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.