Interface ListFacetAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudDirectoryResponse.Builder
,CopyableBuilder<ListFacetAttributesResponse.Builder,
,ListFacetAttributesResponse> SdkBuilder<ListFacetAttributesResponse.Builder,
,ListFacetAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFacetAttributesResponse
public static interface ListFacetAttributesResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<ListFacetAttributesResponse.Builder,ListFacetAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<FacetAttribute> attributes) The attributes attached to the facet.attributes
(Consumer<FacetAttribute.Builder>... attributes) The attributes attached to the facet.attributes
(FacetAttribute... attributes) The attributes attached to the facet.The pagination token.Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
The attributes attached to the facet.
- Parameters:
attributes
- The attributes attached to the facet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes attached to the facet.
- Parameters:
attributes
- The attributes attached to the facet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes attached to the facet.
This is a convenience method that creates an instance of theFacetAttribute.Builder
avoiding the need to create one manually viaFacetAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<FacetAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onFacetAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token.
- Parameters:
nextToken
- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-