Interface ListBackupJobsResponse.Builder

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

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

    • backupJobs

      An array of structures containing metadata about your backup jobs returned in JSON format.

      Parameters:
      backupJobs - An array of structures containing metadata about your backup jobs returned in JSON format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupJobs

      ListBackupJobsResponse.Builder backupJobs(BackupJob... backupJobs)

      An array of structures containing metadata about your backup jobs returned in JSON format.

      Parameters:
      backupJobs - An array of structures containing metadata about your backup jobs returned in JSON format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupJobs

      An array of structures containing metadata about your backup jobs returned in JSON format.

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

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

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

      ListBackupJobsResponse.Builder nextToken(String 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.