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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAttributesResponse.Builderattributes(Collection<Attribute> attributes)A list of attribute objects that meet the criteria of the request.ListAttributesResponse.Builderattributes(Consumer<Attribute.Builder>... attributes)A list of attribute objects that meet the criteria of the request.ListAttributesResponse.Builderattributes(Attribute... attributes)A list of attribute objects that meet the criteria of the request.ListAttributesResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListAttributesrequest.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attributes
ListAttributesResponse.Builder attributes(Collection<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
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
ListAttributesResponse.Builder attributes(Consumer<Attribute.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
nextToken
ListAttributesResponse.Builder nextToken(String 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.
-
-