Interface ListDelegationRequestsResponse.Builder

  • Method Details

    • delegationRequests

      ListDelegationRequestsResponse.Builder delegationRequests(Collection<DelegationRequest> delegationRequests)

      A list of delegation requests that match the specified criteria.

      Parameters:
      delegationRequests - A list of delegation requests that match the specified criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • delegationRequests

      ListDelegationRequestsResponse.Builder delegationRequests(DelegationRequest... delegationRequests)

      A list of delegation requests that match the specified criteria.

      Parameters:
      delegationRequests - A list of delegation requests that match the specified criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • delegationRequests

      A list of delegation requests that match the specified criteria.

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

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

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

      When isTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

      Parameters:
      marker - When isTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isTruncated

      A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items.

      Parameters:
      isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items.
      Returns:
      Returns a reference to this object so that method calls can be chained together.