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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFacetAttributesResponse.Builderattributes(Collection<FacetAttribute> attributes)The attributes attached to the facet.ListFacetAttributesResponse.Builderattributes(Consumer<FacetAttribute.Builder>... attributes)The attributes attached to the facet.ListFacetAttributesResponse.Builderattributes(FacetAttribute... attributes)The attributes attached to the facet.ListFacetAttributesResponse.BuildernextToken(String nextToken)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 Detail
-
attributes
ListFacetAttributesResponse.Builder attributes(Collection<FacetAttribute> 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
ListFacetAttributesResponse.Builder attributes(FacetAttribute... 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
ListFacetAttributesResponse.Builder attributes(Consumer<FacetAttribute.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
nextToken
ListFacetAttributesResponse.Builder nextToken(String nextToken)
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-