Interface ModifyDbClusterSnapshotAttributeRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,ModifyDbClusterSnapshotAttributeRequest>, DocDbRequest.Builder, SdkBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,ModifyDbClusterSnapshotAttributeRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ModifyDbClusterSnapshotAttributeRequest

public static interface ModifyDbClusterSnapshotAttributeRequest.Builder extends DocDbRequest.Builder, SdkPojo, CopyableBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,ModifyDbClusterSnapshotAttributeRequest>
  • Method Details

    • dbClusterSnapshotIdentifier

      ModifyDbClusterSnapshotAttributeRequest.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier)

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

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

      The name of the cluster snapshot attribute to modify.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      A list of 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 cluster snapshot, set this list to include one or more Amazon Web Services account identifiers. To remove authorization for any Amazon Web Services account to copy or restore the cluster snapshot, set it to all . 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 cluster snapshot.

      Parameters:
      valuesToRemove - A list of 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 cluster snapshot, set this list to include one or more Amazon Web Services account identifiers. To remove authorization for any Amazon Web Services account to copy or restore the cluster snapshot, set it to all . 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 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 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 cluster snapshot, set this list to include one or more Amazon Web Services account identifiers. To remove authorization for any Amazon Web Services account to copy or restore the cluster snapshot, set it to all . 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 cluster snapshot.

      Parameters:
      valuesToRemove - A list of 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 cluster snapshot, set this list to include one or more Amazon Web Services account identifiers. To remove authorization for any Amazon Web Services account to copy or restore the cluster snapshot, set it to all . 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 cluster snapshot.

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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.