Class RestoreTableFromClusterSnapshotRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The identifier of the Amazon Redshift cluster to restore the table to.The name of the table to create as a result of the current request.The identifier of the snapshot to restore the table from.The name of the source database that contains the table to restore from.The name of the source schema that contains the table to restore from.The name of the source table to restore from.The name of the database to restore the table to.The name of the schema to restore the table to.int
hashCode()
void
setClusterIdentifier
(String clusterIdentifier) The identifier of the Amazon Redshift cluster to restore the table to.void
setNewTableName
(String newTableName) The name of the table to create as a result of the current request.void
setSnapshotIdentifier
(String snapshotIdentifier) The identifier of the snapshot to restore the table from.void
setSourceDatabaseName
(String sourceDatabaseName) The name of the source database that contains the table to restore from.void
setSourceSchemaName
(String sourceSchemaName) The name of the source schema that contains the table to restore from.void
setSourceTableName
(String sourceTableName) The name of the source table to restore from.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.toString()
Returns a string representation of this object; useful for testing and debugging.withClusterIdentifier
(String clusterIdentifier) The identifier of the Amazon Redshift cluster to restore the table to.withNewTableName
(String newTableName) The name of the table to create as a result of the current request.withSnapshotIdentifier
(String snapshotIdentifier) The identifier of the snapshot to restore the table from.withSourceDatabaseName
(String sourceDatabaseName) The name of the source database that contains the table to restore from.withSourceSchemaName
(String sourceSchemaName) The name of the source schema that contains the table to restore from.withSourceTableName
(String sourceTableName) The name of the source table to restore from.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.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
-
Constructor Details
-
RestoreTableFromClusterSnapshotRequest
public RestoreTableFromClusterSnapshotRequest()
-
-
Method Details
-
setClusterIdentifier
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
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
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
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 theClusterIdentifier
parameter.
-
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
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 theClusterIdentifier
parameter.- 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 to restore from.
- Parameters:
sourceDatabaseName
- The name of the source database that contains the table to restore from.
-
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
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
The name of the source schema that contains the table to restore from. If you do not specify a
SourceSchemaName
value, the default ispublic
.- Parameters:
sourceSchemaName
- The name of the source schema that contains the table to restore from. If you do not specify aSourceSchemaName
value, the default ispublic
.
-
getSourceSchemaName
The name of the source schema that contains the table to restore from. If you do not specify a
SourceSchemaName
value, the default ispublic
.- Returns:
- The name of the source schema that contains the table to restore
from. If you do not specify a
SourceSchemaName
value, the default ispublic
.
-
withSourceSchemaName
The name of the source schema that contains the table to restore from. If you do not specify a
SourceSchemaName
value, the default ispublic
.- Parameters:
sourceSchemaName
- The name of the source schema that contains the table to restore from. If you do not specify aSourceSchemaName
value, the default ispublic
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceTableName
The name of the source table to restore from.
- Parameters:
sourceTableName
- The name of the source table to restore from.
-
getSourceTableName
The name of the source table to restore from.
- Returns:
- The name of the source table to restore from.
-
withSourceTableName
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
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 current request.
- Parameters:
newTableName
- The name of the table to create as a result of the current request.
-
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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 classAmazonWebServiceRequest
- See Also:
-