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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RestoreTableFromClusterSnapshotRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreTableFromClusterSnapshotRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetClusterIdentifier()The identifier of the Amazon Redshift cluster to restore the table to.StringgetNewTableName()The name of the table to create as a result of the current request.StringgetSnapshotIdentifier()The identifier of the snapshot to restore the table from.StringgetSourceDatabaseName()The name of the source database that contains the table to restore from.StringgetSourceSchemaName()The name of the source schema that contains the table to restore from.StringgetSourceTableName()The name of the source table to restore from.StringgetTargetDatabaseName()The name of the database to restore the table to.StringgetTargetSchemaName()The name of the schema to restore the table to.inthashCode()voidsetClusterIdentifier(String clusterIdentifier)The identifier of the Amazon Redshift cluster to restore the table to.voidsetNewTableName(String newTableName)The name of the table to create as a result of the current request.voidsetSnapshotIdentifier(String snapshotIdentifier)The identifier of the snapshot to restore the table from.voidsetSourceDatabaseName(String sourceDatabaseName)The name of the source database that contains the table to restore from.voidsetSourceSchemaName(String sourceSchemaName)The name of the source schema that contains the table to restore from.voidsetSourceTableName(String sourceTableName)The name of the source table to restore from.voidsetTargetDatabaseName(String targetDatabaseName)The name of the database to restore the table to.voidsetTargetSchemaName(String targetSchemaName)The name of the schema to restore the table to.StringtoString()Returns a string representation of this object; useful for testing and debugging.RestoreTableFromClusterSnapshotRequestwithClusterIdentifier(String clusterIdentifier)The identifier of the Amazon Redshift cluster to restore the table to.RestoreTableFromClusterSnapshotRequestwithNewTableName(String newTableName)The name of the table to create as a result of the current request.RestoreTableFromClusterSnapshotRequestwithSnapshotIdentifier(String snapshotIdentifier)The identifier of the snapshot to restore the table from.RestoreTableFromClusterSnapshotRequestwithSourceDatabaseName(String sourceDatabaseName)The name of the source database that contains the table to restore from.RestoreTableFromClusterSnapshotRequestwithSourceSchemaName(String sourceSchemaName)The name of the source schema that contains the table to restore from.RestoreTableFromClusterSnapshotRequestwithSourceTableName(String sourceTableName)The name of the source table to restore from.RestoreTableFromClusterSnapshotRequestwithTargetDatabaseName(String targetDatabaseName)The name of the database to restore the table to.RestoreTableFromClusterSnapshotRequestwithTargetSchemaName(String targetSchemaName)The name of the schema to restore the table to.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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
ClusterIdentifierparameter.- 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 theClusterIdentifierparameter.
-
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
ClusterIdentifierparameter.- 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
ClusterIdentifierparameter.
-
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
ClusterIdentifierparameter.- 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 theClusterIdentifierparameter.- 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
SourceSchemaNamevalue, the default ispublic.- Parameters:
sourceSchemaName- The name of the source schema that contains the table to restore from. If you do not specify aSourceSchemaNamevalue, the default ispublic.
-
getSourceSchemaName
public String getSourceSchemaName()
The name of the source schema that contains the table to restore from. If you do not specify a
SourceSchemaNamevalue, the default ispublic.- Returns:
- The name of the source schema that contains the table to restore
from. If you do not specify a
SourceSchemaNamevalue, the default ispublic.
-
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
SourceSchemaNamevalue, the default ispublic.- Parameters:
sourceSchemaName- The name of the source schema that contains the table to restore from. If you do not specify aSourceSchemaNamevalue, the default ispublic.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RestoreTableFromClusterSnapshotRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-