Interface ListResourceDelegatesResponse.Builder

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

public static interface ListResourceDelegatesResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListResourceDelegatesResponse.Builder,ListResourceDelegatesResponse>
  • Method Details

    • delegates

      One page of the resource's delegates.

      Parameters:
      delegates - One page of the resource's delegates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • delegates

      One page of the resource's delegates.

      Parameters:
      delegates - One page of the resource's delegates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • delegates

      One page of the resource's delegates.

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

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

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

      The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.

      Parameters:
      nextToken - The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.