@Generated(value="software.amazon.awssdk:codegen") public final class RestoreFromSnapshotRequest extends RedshiftServerlessRequest implements ToCopyableBuilder<RestoreFromSnapshotRequest.Builder,RestoreFromSnapshotRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RestoreFromSnapshotRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
adminPasswordSecretKmsKeyId()
The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials
secret.
|
static RestoreFromSnapshotRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
manageAdminPassword()
If
true, Amazon Redshift uses Secrets Manager to manage the restored snapshot's admin credentials. |
String |
namespaceName()
The name of the namespace to restore the snapshot to.
|
String |
ownerAccount()
The Amazon Web Services account that owns the snapshot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RestoreFromSnapshotRequest.Builder> |
serializableBuilderClass() |
String |
snapshotArn()
The Amazon Resource Name (ARN) of the snapshot to restore from.
|
String |
snapshotName()
The name of the snapshot to restore from.
|
RestoreFromSnapshotRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workgroupName()
The name of the workgroup used to restore the snapshot.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String adminPasswordSecretKmsKeyId()
The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
public final Boolean manageAdminPassword()
If true, Amazon Redshift uses Secrets Manager to manage the restored snapshot's admin credentials.
If MmanageAdminPassword is false or not set, Amazon Redshift uses the admin credentials that the
namespace or cluster had at the time the snapshot was taken.
true, Amazon Redshift uses Secrets Manager to manage the restored snapshot's admin
credentials. If MmanageAdminPassword is false or not set, Amazon Redshift uses the admin
credentials that the namespace or cluster had at the time the snapshot was taken.public final String namespaceName()
The name of the namespace to restore the snapshot to.
public final String ownerAccount()
The Amazon Web Services account that owns the snapshot.
public final String snapshotArn()
The Amazon Resource Name (ARN) of the snapshot to restore from. Required if restoring from Amazon Redshift
Serverless to a provisioned cluster. Must not be specified at the same time as snapshotName.
The format of the ARN is arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier>/< ;snapshot_identifier>.
snapshotName.
The format of the ARN is arn:aws:redshift:<region>:<account_id>:snapshot:<cluster_identifier >/<snapshot_identifier>.
public final String snapshotName()
The name of the snapshot to restore from. Must not be specified at the same time as snapshotArn.
snapshotArn.public final String workgroupName()
The name of the workgroup used to restore the snapshot.
public RestoreFromSnapshotRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RestoreFromSnapshotRequest.Builder,RestoreFromSnapshotRequest>toBuilder in class RedshiftServerlessRequestpublic static RestoreFromSnapshotRequest.Builder builder()
public static Class<? extends RestoreFromSnapshotRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.