Interface ListBackupVaultsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, BackupResponse.Builder, Buildable, CopyableBuilder<ListBackupVaultsResponse.Builder,ListBackupVaultsResponse>, SdkBuilder<ListBackupVaultsResponse.Builder,ListBackupVaultsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListBackupVaultsResponse

public static interface ListBackupVaultsResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListBackupVaultsResponse.Builder,ListBackupVaultsResponse>
  • Method Details

    • backupVaultList

      An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.

      Parameters:
      backupVaultList - An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupVaultList

      ListBackupVaultsResponse.Builder backupVaultList(BackupVaultListMember... backupVaultList)

      An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.

      Parameters:
      backupVaultList - An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupVaultList

      An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.

      This is a convenience method that creates an instance of the BackupVaultListMember.Builder avoiding the need to create one manually via BackupVaultListMember.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to backupVaultList(List<BackupVaultListMember>).

      Parameters:
      backupVaultList - a consumer that will call methods on BackupVaultListMember.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      The next item following a partial list of returned items. For example, if a request is made to return MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

      Parameters:
      nextToken - The next item following a partial list of returned items. For example, if a request is made to return MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.