Interface GetBackupSelectionResponse.Builder

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

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

    • backupSelection

      GetBackupSelectionResponse.Builder backupSelection(BackupSelection backupSelection)

      Specifies the body of a request to assign a set of resources to a backup plan.

      Parameters:
      backupSelection - Specifies the body of a request to assign a set of resources to a backup plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupSelection

      default GetBackupSelectionResponse.Builder backupSelection(Consumer<BackupSelection.Builder> backupSelection)

      Specifies the body of a request to assign a set of resources to a backup plan.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to backupSelection(BackupSelection).

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

      GetBackupSelectionResponse.Builder selectionId(String selectionId)

      Uniquely identifies the body of a request to assign a set of resources to a backup plan.

      Parameters:
      selectionId - Uniquely identifies the body of a request to assign a set of resources to a backup plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupPlanId

      GetBackupSelectionResponse.Builder backupPlanId(String backupPlanId)

      Uniquely identifies a backup plan.

      Parameters:
      backupPlanId - Uniquely identifies a backup plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      GetBackupSelectionResponse.Builder creationDate(Instant creationDate)

      The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      creationDate - The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creatorRequestId

      GetBackupSelectionResponse.Builder creatorRequestId(String creatorRequestId)

      A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.

      Parameters:
      creatorRequestId - A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
      Returns:
      Returns a reference to this object so that method calls can be chained together.