Interface ModifyDbClusterSnapshotAttributeRequest.Builder

    • Method Detail

      • dbClusterSnapshotIdentifier

        ModifyDbClusterSnapshotAttributeRequest.Builder dbClusterSnapshotIdentifier​(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.
      • attributeName

        ModifyDbClusterSnapshotAttributeRequest.Builder attributeName​(String attributeName)

        The name of the DB cluster snapshot attribute to modify.

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

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

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

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

        ModifyDbClusterSnapshotAttributeRequest.Builder valuesToAdd​(Collection<String> valuesToAdd)

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

        To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon 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 accounts.

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

        To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon 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 accounts.

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

        ModifyDbClusterSnapshotAttributeRequest.Builder valuesToAdd​(String... valuesToAdd)

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

        To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon 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 accounts.

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

        To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or all to make the manual DB cluster snapshot restorable by any Amazon 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 accounts.

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

        ModifyDbClusterSnapshotAttributeRequest.Builder valuesToRemove​(Collection<String> valuesToRemove)

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

        To remove authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or all to remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specify all, an Amazon 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 accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or all to remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specify all, an Amazon 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.
      • valuesToRemove

        ModifyDbClusterSnapshotAttributeRequest.Builder valuesToRemove​(String... valuesToRemove)

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

        To remove authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or all to remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specify all, an Amazon 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 accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or all to remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specify all, an Amazon 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.