@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) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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.
|
List<SdkField<?>> |
sdkFields() |
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()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final String clusterIdentifier()
The identifier of the Amazon Redshift cluster to restore the table to.
public final 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 final String sourceDatabaseName()
The name of the source database that contains the table to restore from.
public final 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 final String sourceTableName()
The name of the source table to restore from.
public final String targetDatabaseName()
The name of the database to restore the table to.
public final String targetSchemaName()
The name of the schema to restore the table to.
public final 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 final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <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 © 2021 Amazon Web Services, Inc. All Rights Reserved.