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 RestoreTableFromClusterSnapshotRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getClusterIdentifier()
The identifier of the Amazon Redshift cluster to restore the table to.String
getNewTableName()
The name of the table to create as a result of the current request.String
getSnapshotIdentifier()
The identifier of the snapshot to restore the table from.String
getSourceDatabaseName()
The name of the source database that contains the table to restore from.String
getSourceSchemaName()
The name of the source schema that contains the table to restore from.String
getSourceTableName()
The name of the source table to restore from.String
getTargetDatabaseName()
The name of the database to restore the table to.String
getTargetSchemaName()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.RestoreTableFromClusterSnapshotRequest
withClusterIdentifier(String clusterIdentifier)
The identifier of the Amazon Redshift cluster to restore the table to.RestoreTableFromClusterSnapshotRequest
withNewTableName(String newTableName)
The name of the table to create as a result of the current request.RestoreTableFromClusterSnapshotRequest
withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot to restore the table from.RestoreTableFromClusterSnapshotRequest
withSourceDatabaseName(String sourceDatabaseName)
The name of the source database that contains the table to restore from.RestoreTableFromClusterSnapshotRequest
withSourceSchemaName(String sourceSchemaName)
The name of the source schema that contains the table to restore from.RestoreTableFromClusterSnapshotRequest
withSourceTableName(String sourceTableName)
The name of the source table to restore from.RestoreTableFromClusterSnapshotRequest
withTargetDatabaseName(String targetDatabaseName)
The name of the database to restore the table to.RestoreTableFromClusterSnapshotRequest
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
-
-
-
-
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
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
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 theClusterIdentifier
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 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
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 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
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 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
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RestoreTableFromClusterSnapshotRequest 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:
Object.clone()
-
-