Class TableRestoreStatus

java.lang.Object
com.amazonaws.services.redshift.model.TableRestoreStatus
All Implemented Interfaces:
Serializable, Cloneable

public class TableRestoreStatus extends Object implements Serializable, Cloneable

Describes the status of a RestoreTableFromClusterSnapshot operation.

See Also:
  • Constructor Details

    • TableRestoreStatus

      public TableRestoreStatus()
  • Method Details

    • setTableRestoreRequestId

      public void setTableRestoreRequestId(String tableRestoreRequestId)

      The unique identifier for the table restore request.

      Parameters:
      tableRestoreRequestId - The unique identifier for the table restore request.
    • getTableRestoreRequestId

      public String getTableRestoreRequestId()

      The unique identifier for the table restore request.

      Returns:
      The unique identifier for the table restore request.
    • withTableRestoreRequestId

      public TableRestoreStatus withTableRestoreRequestId(String tableRestoreRequestId)

      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

      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

      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

      public String 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

      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

      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

      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

      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

      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

      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

      public void setMessage(String message)

      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 include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.
    • getMessage

      public String 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

      public TableRestoreStatus withMessage(String message)

      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 include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRequestTime

      public void setRequestTime(Date requestTime)

      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

      public Date 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

      public TableRestoreStatus withRequestTime(Date requestTime)

      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

      public void setProgressInMegaBytes(Long progressInMegaBytes)

      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

      public Long 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

      public TableRestoreStatus withProgressInMegaBytes(Long progressInMegaBytes)

      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

      public void setTotalDataInMegaBytes(Long totalDataInMegaBytes)

      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

      public Long 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

      public TableRestoreStatus withTotalDataInMegaBytes(Long totalDataInMegaBytes)

      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

      public void setClusterIdentifier(String clusterIdentifier)

      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

      public String 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

      public TableRestoreStatus withClusterIdentifier(String clusterIdentifier)

      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

      public void setSnapshotIdentifier(String snapshotIdentifier)

      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

      public String 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

      public TableRestoreStatus withSnapshotIdentifier(String snapshotIdentifier)

      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

      public void setSourceDatabaseName(String sourceDatabaseName)

      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

      public String 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

      public TableRestoreStatus withSourceDatabaseName(String sourceDatabaseName)

      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

      public void setSourceSchemaName(String sourceSchemaName)

      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

      public String 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

      public TableRestoreStatus withSourceSchemaName(String sourceSchemaName)

      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

      public void setSourceTableName(String sourceTableName)

      The name of the source table being restored.

      Parameters:
      sourceTableName - The name of the source table being restored.
    • getSourceTableName

      public String getSourceTableName()

      The name of the source table being restored.

      Returns:
      The name of the source table being restored.
    • withSourceTableName

      public TableRestoreStatus withSourceTableName(String sourceTableName)

      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

      public void setTargetDatabaseName(String targetDatabaseName)

      The name of the database to restore the table to.

      Parameters:
      targetDatabaseName - The name of the database to restore the table to.
    • getTargetDatabaseName

      public String getTargetDatabaseName()

      The name of the database to restore the table to.

      Returns:
      The name of the database to restore the table to.
    • withTargetDatabaseName

      public TableRestoreStatus withTargetDatabaseName(String targetDatabaseName)

      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

      public void setTargetSchemaName(String targetSchemaName)

      The name of the schema to restore the table to.

      Parameters:
      targetSchemaName - The name of the schema to restore the table to.
    • getTargetSchemaName

      public String getTargetSchemaName()

      The name of the schema to restore the table to.

      Returns:
      The name of the schema to restore the table to.
    • withTargetSchemaName

      public TableRestoreStatus withTargetSchemaName(String targetSchemaName)

      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

      public void setNewTableName(String newTableName)

      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

      public String 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

      public TableRestoreStatus withNewTableName(String newTableName)

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public TableRestoreStatus clone()
      Overrides:
      clone in class Object