Class RestoreTableFromClusterSnapshotRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.RestoreTableFromClusterSnapshotRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RestoreTableFromClusterSnapshotRequest.Builder,RestoreTableFromClusterSnapshotRequest>
@Generated("software.amazon.awssdk:codegen") public final class RestoreTableFromClusterSnapshotRequest extends RedshiftRequest implements ToCopyableBuilder<RestoreTableFromClusterSnapshotRequest.Builder,RestoreTableFromClusterSnapshotRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRestoreTableFromClusterSnapshotRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestoreTableFromClusterSnapshotRequest.Builderbuilder()StringclusterIdentifier()The identifier of the Amazon Redshift cluster to restore the table to.BooleanenableCaseSensitiveIdentifier()Indicates whether name identifiers for database, schema, and table are case sensitive.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnewTableName()The name of the table to create as a result of the current request.List<SdkField<?>>sdkFields()static Class<? extends RestoreTableFromClusterSnapshotRequest.Builder>serializableBuilderClass()StringsnapshotIdentifier()The identifier of the snapshot to restore the table from.StringsourceDatabaseName()The name of the source database that contains the table to restore from.StringsourceSchemaName()The name of the source schema that contains the table to restore from.StringsourceTableName()The name of the source table to restore from.StringtargetDatabaseName()The name of the database to restore the table to.StringtargetSchemaName()The name of the schema to restore the table to.RestoreTableFromClusterSnapshotRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterIdentifier
public final String clusterIdentifier()
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.
-
snapshotIdentifier
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
ClusterIdentifierparameter.- 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
ClusterIdentifierparameter.
-
sourceDatabaseName
public final String sourceDatabaseName()
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.
-
sourceSchemaName
public final String sourceSchemaName()
The name of the source schema that contains the table to restore from. If you do not specify a
SourceSchemaNamevalue, the default ispublic.- Returns:
- The name of the source schema that contains the table to restore from. If you do not specify a
SourceSchemaNamevalue, the default ispublic.
-
sourceTableName
public final String sourceTableName()
The name of the source table to restore from.
- Returns:
- The name of the source table to restore from.
-
targetDatabaseName
public final String targetDatabaseName()
The name of the database to restore the table to.
- Returns:
- The name of the database to restore the table to.
-
targetSchemaName
public final String targetSchemaName()
The name of the schema to restore the table to.
- Returns:
- The name of the schema to restore the table to.
-
newTableName
public final String newTableName()
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.
-
enableCaseSensitiveIdentifier
public final Boolean enableCaseSensitiveIdentifier()
Indicates whether name identifiers for database, schema, and table are case sensitive. If
true, the names are case sensitive. Iffalse(default), the names are not case sensitive.- Returns:
- Indicates whether name identifiers for database, schema, and table are case sensitive. If
true, the names are case sensitive. Iffalse(default), the names are not case sensitive.
-
toBuilder
public RestoreTableFromClusterSnapshotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RestoreTableFromClusterSnapshotRequest.Builder,RestoreTableFromClusterSnapshotRequest>- Specified by:
toBuilderin classRedshiftRequest
-
builder
public static RestoreTableFromClusterSnapshotRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RestoreTableFromClusterSnapshotRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-