Interface DistributionIdOwnerList.Builder

  • Method Details

    • marker

      Use this field when paginating results to indicate where to begin in your list of DistributionIdOwner objects. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

      Parameters:
      marker - Use this field when paginating results to indicate where to begin in your list of DistributionIdOwner objects. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextMarker

      DistributionIdOwnerList.Builder nextMarker(String nextMarker)

      A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.

      Parameters:
      nextMarker - A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxItems

      The maximum number of DistributionIdOwner objects to return.

      Parameters:
      maxItems - The maximum number of DistributionIdOwner objects to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isTruncated

      DistributionIdOwnerList.Builder isTruncated(Boolean isTruncated)

      A flag that indicates whether more DistributionIdOwner objects remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more results in the list.

      Parameters:
      isTruncated - A flag that indicates whether more DistributionIdOwner objects remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more results in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      Specifies the actual number of DistributionIdOwner objects included in the list for the current page.

      Parameters:
      quantity - Specifies the actual number of DistributionIdOwner objects included in the list for the current page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The number of DistributionIdOwner objects.

      Parameters:
      items - The number of DistributionIdOwner objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The number of DistributionIdOwner objects.

      Parameters:
      items - The number of DistributionIdOwner objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The number of DistributionIdOwner objects.

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

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

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