JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.rds.model

Class ModifyDBClusterSnapshotAttributeRequest

    • Constructor Detail

      • ModifyDBClusterSnapshotAttributeRequest

        public ModifyDBClusterSnapshotAttributeRequest()
    • Method Detail

      • setDBClusterSnapshotIdentifier

        public void setDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)

        The identifier for the DB cluster snapshot to modify the attributes for.

        Parameters:
        dBClusterSnapshotIdentifier - The identifier for the DB cluster snapshot to modify the attributes for.
      • getDBClusterSnapshotIdentifier

        public String getDBClusterSnapshotIdentifier()

        The identifier for the DB cluster snapshot to modify the attributes for.

        Returns:
        The identifier for the DB cluster snapshot to modify the attributes for.
      • withDBClusterSnapshotIdentifier

        public ModifyDBClusterSnapshotAttributeRequest withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)

        The identifier for the DB cluster snapshot to modify the attributes for.

        Parameters:
        dBClusterSnapshotIdentifier - The identifier for the DB cluster snapshot to modify the attributes for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAttributeName

        public void setAttributeName(String attributeName)

        The name of the DB cluster snapshot attribute to modify.

        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

        To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.

        Parameters:
        attributeName - The name of the DB cluster snapshot attribute to modify.

        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

        To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.

      • getAttributeName

        public String getAttributeName()

        The name of the DB cluster snapshot attribute to modify.

        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

        To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.

        Returns:
        The name of the DB cluster snapshot attribute to modify.

        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

        To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.

      • withAttributeName

        public ModifyDBClusterSnapshotAttributeRequest withAttributeName(String attributeName)

        The name of the DB cluster snapshot attribute to modify.

        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

        To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.

        Parameters:
        attributeName - The name of the DB cluster snapshot attribute to modify.

        To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

        To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getValuesToAdd

        public List<String> getValuesToAdd()

        A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

        Returns:
        A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName .

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

      • setValuesToAdd

        public void setValuesToAdd(Collection<String> valuesToAdd)

        A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

        Parameters:
        valuesToAdd - A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName .

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

      • withValuesToAdd

        public ModifyDBClusterSnapshotAttributeRequest withValuesToAdd(String... valuesToAdd)

        A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

        NOTE: This method appends the values to the existing list (if any). Use setValuesToAdd(java.util.Collection) or withValuesToAdd(java.util.Collection) if you want to override the existing values.

        Parameters:
        valuesToAdd - A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName .

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withValuesToAdd

        public ModifyDBClusterSnapshotAttributeRequest withValuesToAdd(Collection<String> valuesToAdd)

        A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

        Parameters:
        valuesToAdd - A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName .

        To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getValuesToRemove

        public List<String> getValuesToRemove()

        A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

        Returns:
        A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

      • setValuesToRemove

        public void setValuesToRemove(Collection<String> valuesToRemove)

        A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

        Parameters:
        valuesToRemove - A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

      • withValuesToRemove

        public ModifyDBClusterSnapshotAttributeRequest withValuesToRemove(String... valuesToRemove)

        A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

        NOTE: This method appends the values to the existing list (if any). Use setValuesToRemove(java.util.Collection) or withValuesToRemove(java.util.Collection) if you want to override the existing values.

        Parameters:
        valuesToRemove - A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withValuesToRemove

        public ModifyDBClusterSnapshotAttributeRequest withValuesToRemove(Collection<String> valuesToRemove)

        A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

        Parameters:
        valuesToRemove - A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

        To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or all to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specify all, an Amazon Web Services account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /