Interface ListFacetAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudDirectoryResponse.Builder,CopyableBuilder<ListFacetAttributesResponse.Builder,,ListFacetAttributesResponse> SdkBuilder<ListFacetAttributesResponse.Builder,,ListFacetAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFacetAttributesResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
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.Builderavoiding the need to create one manually viaFacetAttribute.builder().When the
Consumercompletes,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.
-