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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetFacetResponse.Builderfacet(Consumer<Facet.Builder> facet)The Facet structure that is associated with the facet.GetFacetResponse.Builderfacet(Facet 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 Detail
-
facet
GetFacetResponse.Builder facet(Facet facet)
The Facet structure that is associated with the facet.
- Parameters:
facet- The Facet structure that is associated with the facet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
facet
default GetFacetResponse.Builder facet(Consumer<Facet.Builder> 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:
facet(Facet)
-
-