public class RestoreTableFromClusterSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clusterIdentifier
The identifier of the Amazon Redshift cluster to restore the table to.
|
private java.lang.String |
newTableName
The name of the table to create as a result of the current request.
|
private java.lang.String |
snapshotIdentifier
The identifier of the snapshot to restore the table from.
|
private java.lang.String |
sourceDatabaseName
The name of the source database that contains the table to restore from.
|
private java.lang.String |
sourceSchemaName
The name of the source schema that contains the table to restore from.
|
private java.lang.String |
sourceTableName
The name of the source table to restore from.
|
private java.lang.String |
targetDatabaseName
The name of the database to restore the table to.
|
private java.lang.String |
targetSchemaName
The name of the schema to restore the table to.
|
NOOP
Constructor and Description |
---|
RestoreTableFromClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
RestoreTableFromClusterSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClusterIdentifier()
The identifier of the Amazon Redshift cluster to restore the table to.
|
java.lang.String |
getNewTableName()
The name of the table to create as a result of the current request.
|
java.lang.String |
getSnapshotIdentifier()
The identifier of the snapshot to restore the table from.
|
java.lang.String |
getSourceDatabaseName()
The name of the source database that contains the table to restore from.
|
java.lang.String |
getSourceSchemaName()
The name of the source schema that contains the table to restore from.
|
java.lang.String |
getSourceTableName()
The name of the source table to restore from.
|
java.lang.String |
getTargetDatabaseName()
The name of the database to restore the table to.
|
java.lang.String |
getTargetSchemaName()
The name of the schema to restore the table to.
|
int |
hashCode() |
void |
setClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the Amazon Redshift cluster to restore the table to.
|
void |
setNewTableName(java.lang.String newTableName)
The name of the table to create as a result of the current request.
|
void |
setSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot to restore the table from.
|
void |
setSourceDatabaseName(java.lang.String sourceDatabaseName)
The name of the source database that contains the table to restore from.
|
void |
setSourceSchemaName(java.lang.String sourceSchemaName)
The name of the source schema that contains the table to restore from.
|
void |
setSourceTableName(java.lang.String sourceTableName)
The name of the source table to restore from.
|
void |
setTargetDatabaseName(java.lang.String targetDatabaseName)
The name of the database to restore the table to.
|
void |
setTargetSchemaName(java.lang.String targetSchemaName)
The name of the schema to restore the table to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RestoreTableFromClusterSnapshotRequest |
withClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the Amazon Redshift cluster to restore the table to.
|
RestoreTableFromClusterSnapshotRequest |
withNewTableName(java.lang.String newTableName)
The name of the table to create as a result of the current request.
|
RestoreTableFromClusterSnapshotRequest |
withSnapshotIdentifier(java.lang.String snapshotIdentifier)
The identifier of the snapshot to restore the table from.
|
RestoreTableFromClusterSnapshotRequest |
withSourceDatabaseName(java.lang.String sourceDatabaseName)
The name of the source database that contains the table to restore from.
|
RestoreTableFromClusterSnapshotRequest |
withSourceSchemaName(java.lang.String sourceSchemaName)
The name of the source schema that contains the table to restore from.
|
RestoreTableFromClusterSnapshotRequest |
withSourceTableName(java.lang.String sourceTableName)
The name of the source table to restore from.
|
RestoreTableFromClusterSnapshotRequest |
withTargetDatabaseName(java.lang.String targetDatabaseName)
The name of the database to restore the table to.
|
RestoreTableFromClusterSnapshotRequest |
withTargetSchemaName(java.lang.String targetSchemaName)
The name of the schema to restore the table to.
|
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
private java.lang.String clusterIdentifier
The identifier of the Amazon Redshift cluster to restore the table to.
private java.lang.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.
private java.lang.String sourceDatabaseName
The name of the source database that contains the table to restore from.
private java.lang.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
.
private java.lang.String sourceTableName
The name of the source table to restore from.
private java.lang.String targetDatabaseName
The name of the database to restore the table to.
private java.lang.String targetSchemaName
The name of the schema to restore the table to.
private java.lang.String newTableName
The name of the table to create as a result of the current request.
public RestoreTableFromClusterSnapshotRequest()
public void setClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the Amazon Redshift cluster to restore the table to.
clusterIdentifier
- The identifier of the Amazon Redshift cluster to restore the table
to.public java.lang.String getClusterIdentifier()
The identifier of the Amazon Redshift cluster to restore the table to.
public RestoreTableFromClusterSnapshotRequest withClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the Amazon Redshift cluster to restore the table to.
clusterIdentifier
- The identifier of the Amazon Redshift cluster to restore the table
to.public void setSnapshotIdentifier(java.lang.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.
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.public java.lang.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.
ClusterIdentifier
parameter.public RestoreTableFromClusterSnapshotRequest withSnapshotIdentifier(java.lang.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.
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.public void setSourceDatabaseName(java.lang.String sourceDatabaseName)
The name of the source database that contains the table to restore from.
sourceDatabaseName
- The name of the source database that contains the table to restore
from.public java.lang.String getSourceDatabaseName()
The name of the source database that contains the table to restore from.
public RestoreTableFromClusterSnapshotRequest withSourceDatabaseName(java.lang.String sourceDatabaseName)
The name of the source database that contains the table to restore from.
sourceDatabaseName
- The name of the source database that contains the table to restore
from.public void setSourceSchemaName(java.lang.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
.
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
.public java.lang.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
.
SourceSchemaName
value, the default is public
.public RestoreTableFromClusterSnapshotRequest withSourceSchemaName(java.lang.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
.
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
.public void setSourceTableName(java.lang.String sourceTableName)
The name of the source table to restore from.
sourceTableName
- The name of the source table to restore from.public java.lang.String getSourceTableName()
The name of the source table to restore from.
public RestoreTableFromClusterSnapshotRequest withSourceTableName(java.lang.String sourceTableName)
The name of the source table to restore from.
sourceTableName
- The name of the source table to restore from.public void setTargetDatabaseName(java.lang.String targetDatabaseName)
The name of the database to restore the table to.
targetDatabaseName
- The name of the database to restore the table to.public java.lang.String getTargetDatabaseName()
The name of the database to restore the table to.
public RestoreTableFromClusterSnapshotRequest withTargetDatabaseName(java.lang.String targetDatabaseName)
The name of the database to restore the table to.
targetDatabaseName
- The name of the database to restore the table to.public void setTargetSchemaName(java.lang.String targetSchemaName)
The name of the schema to restore the table to.
targetSchemaName
- The name of the schema to restore the table to.public java.lang.String getTargetSchemaName()
The name of the schema to restore the table to.
public RestoreTableFromClusterSnapshotRequest withTargetSchemaName(java.lang.String targetSchemaName)
The name of the schema to restore the table to.
targetSchemaName
- The name of the schema to restore the table to.public void setNewTableName(java.lang.String newTableName)
The name of the table to create as a result of the current request.
newTableName
- The name of the table to create as a result of the current
request.public java.lang.String getNewTableName()
The name of the table to create as a result of the current request.
public RestoreTableFromClusterSnapshotRequest withNewTableName(java.lang.String newTableName)
The name of the table to create as a result of the current request.
newTableName
- The name of the table to create as a result of the current
request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RestoreTableFromClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()