Interface GetDisksResponse.Builder

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

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

    • disks

      An array of objects containing information about all block storage disks.

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

      GetDisksResponse.Builder disks(Disk... disks)

      An array of objects containing information about all block storage disks.

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

      An array of objects containing information about all block storage disks.

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

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

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

      GetDisksResponse.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 GetDisks 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 GetDisks 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.