Class AuthorizeSnapshotAccessRequest

    • Method Detail

      • snapshotIdentifier

        public final String snapshotIdentifier()

        The identifier of the snapshot the account is authorized to restore.

        Returns:
        The identifier of the snapshot the account is authorized to restore.
      • snapshotArn

        public final String snapshotArn()

        The Amazon Resource Name (ARN) of the snapshot to authorize access to.

        Returns:
        The Amazon Resource Name (ARN) of the snapshot to authorize access to.
      • snapshotClusterIdentifier

        public final String snapshotClusterIdentifier()

        The identifier of the cluster the snapshot was created from.

        • If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots - This parameter is required. Otherwise, permissions aren't available to check if the snapshot exists.

        • If the snapshot to access exists - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to validate snapshot authorization.

        Returns:
        The identifier of the cluster the snapshot was created from.

        • If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots - This parameter is required. Otherwise, permissions aren't available to check if the snapshot exists.

        • If the snapshot to access exists - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to validate snapshot authorization.

      • accountWithRestoreAccess

        public final String accountWithRestoreAccess()

        The identifier of the Amazon Web Services account authorized to restore the specified snapshot.

        To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

        Returns:
        The identifier of the Amazon Web Services account authorized to restore the specified snapshot.

        To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

      • 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