Class RestoreTableFromClusterSnapshotRequest

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

public class RestoreTableFromClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • RestoreTableFromClusterSnapshotRequest

      public RestoreTableFromClusterSnapshotRequest()
  • Method Details

    • setClusterIdentifier

      public void setClusterIdentifier(String clusterIdentifier)

      The identifier of the Amazon Redshift cluster to restore the table to.

      Parameters:
      clusterIdentifier - The identifier of the Amazon Redshift cluster to restore the table to.
    • getClusterIdentifier

      public String getClusterIdentifier()

      The identifier of the Amazon Redshift cluster to restore the table to.

      Returns:
      The identifier of the Amazon Redshift cluster to restore the table to.
    • withClusterIdentifier

      public RestoreTableFromClusterSnapshotRequest withClusterIdentifier(String clusterIdentifier)

      The identifier of the Amazon Redshift cluster to restore the table to.

      Parameters:
      clusterIdentifier - The identifier of the Amazon Redshift cluster to restore the table 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 to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.

      Parameters:
      snapshotIdentifier - The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.
    • getSnapshotIdentifier

      public String getSnapshotIdentifier()

      The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.

      Returns:
      The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.
    • withSnapshotIdentifier

      public RestoreTableFromClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier)

      The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.

      Parameters:
      snapshotIdentifier - The identifier of the snapshot to restore the table from. This snapshot must have been created from the Amazon Redshift cluster specified by the ClusterIdentifier parameter.
      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 to restore from.

      Parameters:
      sourceDatabaseName - The name of the source database that contains the table to restore from.
    • getSourceDatabaseName

      public String getSourceDatabaseName()

      The name of the source database that contains the table to restore from.

      Returns:
      The name of the source database that contains the table to restore from.
    • withSourceDatabaseName

      public RestoreTableFromClusterSnapshotRequest withSourceDatabaseName(String sourceDatabaseName)

      The name of the source database that contains the table to restore from.

      Parameters:
      sourceDatabaseName - The name of the source database that contains the table to restore from.
      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 to restore from. If you do not specify a SourceSchemaName value, the default is public.

      Parameters:
      sourceSchemaName - The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public.
    • getSourceSchemaName

      public String getSourceSchemaName()

      The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public.

      Returns:
      The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public.
    • withSourceSchemaName

      public RestoreTableFromClusterSnapshotRequest withSourceSchemaName(String sourceSchemaName)

      The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public.

      Parameters:
      sourceSchemaName - The name of the source schema that contains the table to restore from. If you do not specify a SourceSchemaName value, the default is public.
      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 to restore from.

      Parameters:
      sourceTableName - The name of the source table to restore from.
    • getSourceTableName

      public String getSourceTableName()

      The name of the source table to restore from.

      Returns:
      The name of the source table to restore from.
    • withSourceTableName

      public RestoreTableFromClusterSnapshotRequest withSourceTableName(String sourceTableName)

      The name of the source table to restore from.

      Parameters:
      sourceTableName - The name of the source table to restore from.
      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 RestoreTableFromClusterSnapshotRequest 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 RestoreTableFromClusterSnapshotRequest 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 current request.

      Parameters:
      newTableName - The name of the table to create as a result of the current request.
    • getNewTableName

      public String getNewTableName()

      The name of the table to create as a result of the current request.

      Returns:
      The name of the table to create as a result of the current request.
    • withNewTableName

      public RestoreTableFromClusterSnapshotRequest withNewTableName(String newTableName)

      The name of the table to create as a result of the current request.

      Parameters:
      newTableName - The name of the table to create as a result of the current 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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: