Interface DescribeImagesResponse.Builder

  • Method Details

    • imageDetails

      A list of ImageDetail objects that contain data about the image.

      Parameters:
      imageDetails - A list of ImageDetail objects that contain data about the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageDetails

      DescribeImagesResponse.Builder imageDetails(ImageDetail... imageDetails)

      A list of ImageDetail objects that contain data about the image.

      Parameters:
      imageDetails - A list of ImageDetail objects that contain data about the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageDetails

      A list of ImageDetail objects that contain data about the image.

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

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

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

      DescribeImagesResponse.Builder nextToken(String nextToken)

      The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.