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 Summary
Modifier and TypeMethodDescriptionattributes
(Collection<Attribute> attributes) A list of attribute objects that meet the criteria of the request.attributes
(Consumer<Attribute.Builder>... attributes) A list of attribute objects that meet the criteria of the request.attributes
(Attribute... attributes) A list of attribute objects that meet the criteria of the request.ThenextToken
value to include in a futureListAttributes
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theAttribute.Builder
avoiding the need to create one manually viaAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<Attribute>)
.- Parameters:
attributes
- a consumer that will call methods onAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextToken
value to include in a futureListAttributes
request. When the results of aListAttributes
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListAttributes
request. When the results of aListAttributes
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-