Class RestoreFromSnapshotRequest

    • Method Detail

      • adminPasswordSecretKmsKeyId

        public final String adminPasswordSecretKmsKeyId()

        The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.

        Returns:
        The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
      • manageAdminPassword

        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.

        Returns:
        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.
      • namespaceName

        public final String namespaceName()

        The name of the namespace to restore the snapshot to.

        Returns:
        The name of the namespace to restore the snapshot to.
      • ownerAccount

        public final String ownerAccount()

        The Amazon Web Services account that owns the snapshot.

        Returns:
        The Amazon Web Services account that owns the snapshot.
      • snapshotArn

        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>.

        Returns:
        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

        public final String snapshotName()

        The name of the snapshot to restore from. Must not be specified at the same time as snapshotArn.

        Returns:
        The name of the snapshot to restore from. Must not be specified at the same time as snapshotArn.
      • workgroupName

        public final String workgroupName()

        The name of the workgroup used to restore the snapshot.

        Returns:
        The name of the workgroup used to restore the snapshot.
      • 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.
        Overrides:
        toString in class Object