Interface DescribeVolumesResponse.Builder

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

public static interface DescribeVolumesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVolumesResponse.Builder,DescribeVolumesResponse>
  • Method Details

    • volumes

      Information about the volumes.

      Parameters:
      volumes - Information about the volumes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumes

      Information about the volumes.

      Parameters:
      volumes - Information about the volumes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumes

      Information about the volumes.

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

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

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

      The token to include in another request to get the next page of items. This value is null when there are no more items to return.

      Parameters:
      nextToken - The token to include in another request to get the next page of items. This value is null when there are no more items to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.