Interface ListAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAttributesResponse.Builder,,ListAttributesResponse> EcsResponse.Builder,SdkBuilder<ListAttributesResponse.Builder,,ListAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAttributesResponse
@Mutable
@NotThreadSafe
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.ThenextTokenvalue to include in a futureListAttributesrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,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
nextTokenvalue to include in a futureListAttributesrequest. When the results of aListAttributesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListAttributesrequest. When the results of aListAttributesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-