Interface ListAttributesResponse.Builder

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

public static interface ListAttributesResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<ListAttributesResponse.Builder,ListAttributesResponse>
  • Method Details

    • attributes

      A list of attribute objects that meet the criteria of the request.

      Parameters:
      attributes - A list of attribute objects that meet the criteria of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      ListAttributesResponse.Builder attributes(Attribute... attributes)

      A list of attribute objects that meet the criteria of the request.

      Parameters:
      attributes - A list of attribute objects that meet the criteria of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      A list of attribute objects that meet the criteria of the request.

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

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

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

      ListAttributesResponse.Builder nextToken(String nextToken)

      The nextToken value to include in a future ListAttributes request. When the results of a ListAttributes 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 ListAttributes request. When the results of a ListAttributes 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.