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