Interface ListResourcesResponse.Builder

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

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

    • resources

      One page of the organization's resource representation.

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

      ListResourcesResponse.Builder resources(Resource... resources)

      One page of the organization's resource representation.

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

      One page of the organization's resource representation.

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

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

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

      ListResourcesResponse.Builder nextToken(String nextToken)

      The token used to paginate through all the organization's resources. 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 all the organization's resources. 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.