@Generated(value="software.amazon.awssdk:codegen") public final class RestoreTableFromClusterSnapshotRequest extends RedshiftRequest implements ToCopyableBuilder<RestoreTableFromClusterSnapshotRequest.Builder,RestoreTableFromClusterSnapshotRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
RestoreTableFromClusterSnapshotRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static RestoreTableFromClusterSnapshotRequest.Builder |
builder() |
String |
clusterIdentifier()
The identifier of the Amazon Redshift cluster to restore the table to.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
newTableName()
The name of the table to create as a result of the current request.
|
static Class<? extends RestoreTableFromClusterSnapshotRequest.Builder> |
serializableBuilderClass() |
String |
snapshotIdentifier()
The identifier of the snapshot to restore the table from.
|
String |
sourceDatabaseName()
The name of the source database that contains the table to restore from.
|
String |
sourceSchemaName()
The name of the source schema that contains the table to restore from.
|
String |
sourceTableName()
The name of the source table to restore from.
|
String |
targetDatabaseName()
The name of the database to restore the table to.
|
String |
targetSchemaName()
The name of the schema to restore the table to.
|
RestoreTableFromClusterSnapshotRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String clusterIdentifier()
The identifier of the Amazon Redshift cluster to restore the table to.
public 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.
ClusterIdentifier
parameter.public String sourceDatabaseName()
The name of the source database that contains the table to restore from.
public 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
value, the default is public
.public String sourceTableName()
The name of the source table to restore from.
public String targetDatabaseName()
The name of the database to restore the table to.
public String targetSchemaName()
The name of the schema to restore the table to.
public String newTableName()
The name of the table to create as a result of the current request.
public RestoreTableFromClusterSnapshotRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RestoreTableFromClusterSnapshotRequest.Builder,RestoreTableFromClusterSnapshotRequest>
toBuilder
in class RedshiftRequest
public static RestoreTableFromClusterSnapshotRequest.Builder builder()
public static Class<? extends RestoreTableFromClusterSnapshotRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.