Interface GetFacetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudDirectoryResponse.Builder
,CopyableBuilder<GetFacetResponse.Builder,
,GetFacetResponse> SdkBuilder<GetFacetResponse.Builder,
,GetFacetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFacetResponse
public static interface GetFacetResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<GetFacetResponse.Builder,GetFacetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetFacetResponse.Builder
facet
(Consumer<Facet.Builder> facet) The Facet structure that is associated with the facet.The Facet structure that is associated with the facet.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
-
facet
-
facet
The Facet structure that is associated with the facet.
This is a convenience method that creates an instance of theFacet.Builder
avoiding the need to create one manually viaFacet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofacet(Facet)
.- Parameters:
facet
- a consumer that will call methods onFacet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-