Interface GetFacetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudDirectoryResponse.Builder,CopyableBuilder<GetFacetResponse.Builder,,GetFacetResponse> SdkBuilder<GetFacetResponse.Builder,,GetFacetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFacetResponse
@Mutable
@NotThreadSafe
public static interface GetFacetResponse.Builder
extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<GetFacetResponse.Builder,GetFacetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetFacetResponse.Builderfacet(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, 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
-
facet
-
facet
The Facet structure that is associated with the facet.
This is a convenience method that creates an instance of theFacet.Builderavoiding the need to create one manually viaFacet.builder().When the
Consumercompletes,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:
-