@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableRestoreStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a table restore request.
Constructor and Description |
---|
TableRestoreStatus() |
Modifier and Type | Method and Description |
---|---|
TableRestoreStatus |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A message that explains the returned status.
|
String |
getNamespaceName()
The namespace of the table being restored from.
|
String |
getNewTableName()
The name of the table to create from the restore operation.
|
Long |
getProgressInMegaBytes()
The amount of data restored to the new table so far, in megabytes (MB).
|
String |
getRecoveryPointId()
The ID of the recovery point being restored from.
|
Date |
getRequestTime()
The time that the table restore request was made, in Universal Coordinated Time (UTC).
|
String |
getSnapshotName()
The name of the snapshot being restored from.
|
String |
getSourceDatabaseName()
The name of the source database being restored from.
|
String |
getSourceSchemaName()
The name of the source schema being restored from.
|
String |
getSourceTableName()
The name of the source table being restored from.
|
String |
getStatus()
A value that describes the current state of the table restore request.
|
String |
getTableRestoreRequestId()
The ID of the RestoreTableFromSnapshot request.
|
String |
getTargetDatabaseName()
The name of the database to restore to.
|
String |
getTargetSchemaName()
The name of the schema to restore to.
|
Long |
getTotalDataInMegaBytes()
The total amount of data to restore to the new table, in megabytes (MB).
|
String |
getWorkgroupName()
The name of the workgroup being restored from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
A message that explains the returned status.
|
void |
setNamespaceName(String namespaceName)
The namespace of the table being restored from.
|
void |
setNewTableName(String newTableName)
The name of the table to create from the restore operation.
|
void |
setProgressInMegaBytes(Long progressInMegaBytes)
The amount of data restored to the new table so far, in megabytes (MB).
|
void |
setRecoveryPointId(String recoveryPointId)
The ID of the recovery point being restored from.
|
void |
setRequestTime(Date requestTime)
The time that the table restore request was made, in Universal Coordinated Time (UTC).
|
void |
setSnapshotName(String snapshotName)
The name of the snapshot being restored from.
|
void |
setSourceDatabaseName(String sourceDatabaseName)
The name of the source database being restored from.
|
void |
setSourceSchemaName(String sourceSchemaName)
The name of the source schema being restored from.
|
void |
setSourceTableName(String sourceTableName)
The name of the source table being restored from.
|
void |
setStatus(String status)
A value that describes the current state of the table restore request.
|
void |
setTableRestoreRequestId(String tableRestoreRequestId)
The ID of the RestoreTableFromSnapshot request.
|
void |
setTargetDatabaseName(String targetDatabaseName)
The name of the database to restore to.
|
void |
setTargetSchemaName(String targetSchemaName)
The name of the schema to restore to.
|
void |
setTotalDataInMegaBytes(Long totalDataInMegaBytes)
The total amount of data to restore to the new table, in megabytes (MB).
|
void |
setWorkgroupName(String workgroupName)
The name of the workgroup being restored from.
|
String |
toString()
Returns a string representation of this object.
|
TableRestoreStatus |
withMessage(String message)
A message that explains the returned status.
|
TableRestoreStatus |
withNamespaceName(String namespaceName)
The namespace of the table being restored from.
|
TableRestoreStatus |
withNewTableName(String newTableName)
The name of the table to create from the restore operation.
|
TableRestoreStatus |
withProgressInMegaBytes(Long progressInMegaBytes)
The amount of data restored to the new table so far, in megabytes (MB).
|
TableRestoreStatus |
withRecoveryPointId(String recoveryPointId)
The ID of the recovery point being restored from.
|
TableRestoreStatus |
withRequestTime(Date requestTime)
The time that the table restore request was made, in Universal Coordinated Time (UTC).
|
TableRestoreStatus |
withSnapshotName(String snapshotName)
The name of the snapshot being restored from.
|
TableRestoreStatus |
withSourceDatabaseName(String sourceDatabaseName)
The name of the source database being restored from.
|
TableRestoreStatus |
withSourceSchemaName(String sourceSchemaName)
The name of the source schema being restored from.
|
TableRestoreStatus |
withSourceTableName(String sourceTableName)
The name of the source table being restored from.
|
TableRestoreStatus |
withStatus(String status)
A value that describes the current state of the table restore request.
|
TableRestoreStatus |
withTableRestoreRequestId(String tableRestoreRequestId)
The ID of the RestoreTableFromSnapshot request.
|
TableRestoreStatus |
withTargetDatabaseName(String targetDatabaseName)
The name of the database to restore to.
|
TableRestoreStatus |
withTargetSchemaName(String targetSchemaName)
The name of the schema to restore to.
|
TableRestoreStatus |
withTotalDataInMegaBytes(Long totalDataInMegaBytes)
The total amount of data to restore to the new table, in megabytes (MB).
|
TableRestoreStatus |
withWorkgroupName(String workgroupName)
The name of the workgroup being restored from.
|
public void setMessage(String message)
A message that explains the returned status. For example, if the status of the operation is FAILED
,
the message explains why the operation failed.
message
- A message that explains the returned status. For example, if the status of the operation is
FAILED
, the message explains why the operation failed.public String getMessage()
A message that explains the returned status. For example, if the status of the operation is FAILED
,
the message explains why the operation failed.
FAILED
, the message explains why the operation failed.public TableRestoreStatus withMessage(String message)
A message that explains the returned status. For example, if the status of the operation is FAILED
,
the message explains why the operation failed.
message
- A message that explains the returned status. For example, if the status of the operation is
FAILED
, the message explains why the operation failed.public void setNamespaceName(String namespaceName)
The namespace of the table being restored from.
namespaceName
- The namespace of the table being restored from.public String getNamespaceName()
The namespace of the table being restored from.
public TableRestoreStatus withNamespaceName(String namespaceName)
The namespace of the table being restored from.
namespaceName
- The namespace of the table being restored from.public void setNewTableName(String newTableName)
The name of the table to create from the restore operation.
newTableName
- The name of the table to create from the restore operation.public String getNewTableName()
The name of the table to create from the restore operation.
public TableRestoreStatus withNewTableName(String newTableName)
The name of the table to create from the restore operation.
newTableName
- The name of the table to create from the restore operation.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 setRecoveryPointId(String recoveryPointId)
The ID of the recovery point being restored from.
recoveryPointId
- The ID of the recovery point being restored from.public String getRecoveryPointId()
The ID of the recovery point being restored from.
public TableRestoreStatus withRecoveryPointId(String recoveryPointId)
The ID of the recovery point being restored from.
recoveryPointId
- The ID of the recovery point being restored from.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 setSnapshotName(String snapshotName)
The name of the snapshot being restored from.
snapshotName
- The name of the snapshot being restored from.public String getSnapshotName()
The name of the snapshot being restored from.
public TableRestoreStatus withSnapshotName(String snapshotName)
The name of the snapshot being restored from.
snapshotName
- The name of the snapshot being restored from.public void setSourceDatabaseName(String sourceDatabaseName)
The name of the source database being restored from.
sourceDatabaseName
- The name of the source database being restored from.public String getSourceDatabaseName()
The name of the source database being restored from.
public TableRestoreStatus withSourceDatabaseName(String sourceDatabaseName)
The name of the source database being restored from.
sourceDatabaseName
- The name of the source database being restored from.public void setSourceSchemaName(String sourceSchemaName)
The name of the source schema being restored from.
sourceSchemaName
- The name of the source schema being restored from.public String getSourceSchemaName()
The name of the source schema being restored from.
public TableRestoreStatus withSourceSchemaName(String sourceSchemaName)
The name of the source schema being restored from.
sourceSchemaName
- The name of the source schema being restored from.public void setSourceTableName(String sourceTableName)
The name of the source table being restored from.
sourceTableName
- The name of the source table being restored from.public String getSourceTableName()
The name of the source table being restored from.
public TableRestoreStatus withSourceTableName(String sourceTableName)
The name of the source table being restored from.
sourceTableName
- The name of the source table being restored from.public void setStatus(String status)
A value that describes the current state of the table restore request. Possible values are SUCCEEDED
, FAILED
, CANCELED
, PENDING
, and IN_PROGRESS
.
status
- A value that describes the current state of the table restore request. Possible values are
SUCCEEDED
, FAILED
, CANCELED
, PENDING
, and
IN_PROGRESS
.public String getStatus()
A value that describes the current state of the table restore request. Possible values are SUCCEEDED
, FAILED
, CANCELED
, PENDING
, and IN_PROGRESS
.
SUCCEEDED
, FAILED
, CANCELED
, PENDING
, and
IN_PROGRESS
.public TableRestoreStatus withStatus(String status)
A value that describes the current state of the table restore request. Possible values are SUCCEEDED
, FAILED
, CANCELED
, PENDING
, and IN_PROGRESS
.
status
- A value that describes the current state of the table restore request. Possible values are
SUCCEEDED
, FAILED
, CANCELED
, PENDING
, and
IN_PROGRESS
.public void setTableRestoreRequestId(String tableRestoreRequestId)
The ID of the RestoreTableFromSnapshot request.
tableRestoreRequestId
- The ID of the RestoreTableFromSnapshot request.public String getTableRestoreRequestId()
The ID of the RestoreTableFromSnapshot request.
public TableRestoreStatus withTableRestoreRequestId(String tableRestoreRequestId)
The ID of the RestoreTableFromSnapshot request.
tableRestoreRequestId
- The ID of the RestoreTableFromSnapshot request.public void setTargetDatabaseName(String targetDatabaseName)
The name of the database to restore to.
targetDatabaseName
- The name of the database to restore to.public String getTargetDatabaseName()
The name of the database to restore to.
public TableRestoreStatus withTargetDatabaseName(String targetDatabaseName)
The name of the database to restore to.
targetDatabaseName
- The name of the database to restore to.public void setTargetSchemaName(String targetSchemaName)
The name of the schema to restore to.
targetSchemaName
- The name of the schema to restore to.public String getTargetSchemaName()
The name of the schema to restore to.
public TableRestoreStatus withTargetSchemaName(String targetSchemaName)
The name of the schema to restore to.
targetSchemaName
- The name of the schema to restore to.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 setWorkgroupName(String workgroupName)
The name of the workgroup being restored from.
workgroupName
- The name of the workgroup being restored from.public String getWorkgroupName()
The name of the workgroup being restored from.
public TableRestoreStatus withWorkgroupName(String workgroupName)
The name of the workgroup being restored from.
workgroupName
- The name of the workgroup being restored from.public String toString()
toString
in class Object
Object.toString()
public TableRestoreStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.