Interface GetDiskSnapshotsResponse.Builder

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

public static interface GetDiskSnapshotsResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetDiskSnapshotsResponse.Builder,GetDiskSnapshotsResponse>
  • Method Details

    • diskSnapshots

      An array of objects containing information about all block storage disk snapshots.

      Parameters:
      diskSnapshots - An array of objects containing information about all block storage disk snapshots.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diskSnapshots

      GetDiskSnapshotsResponse.Builder diskSnapshots(DiskSnapshot... diskSnapshots)

      An array of objects containing information about all block storage disk snapshots.

      Parameters:
      diskSnapshots - An array of objects containing information about all block storage disk snapshots.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diskSnapshots

      An array of objects containing information about all block storage disk snapshots.

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

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

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

      GetDiskSnapshotsResponse.Builder nextPageToken(String nextPageToken)

      The token to advance to the next page of results from your request.

      A next page token is not returned if there are no more results to display.

      To get the next page of results, perform another GetDiskSnapshots request and specify the next page token using the pageToken parameter.

      Parameters:
      nextPageToken - The token to advance to the next page of results from your request.

      A next page token is not returned if there are no more results to display.

      To get the next page of results, perform another GetDiskSnapshots request and specify the next page token using the pageToken parameter.

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