Interface FacetAttribute.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FacetAttribute.Builder,FacetAttribute>,SdkBuilder<FacetAttribute.Builder,FacetAttribute>,SdkPojo
- Enclosing class:
- FacetAttribute
public static interface FacetAttribute.Builder extends SdkPojo, CopyableBuilder<FacetAttribute.Builder,FacetAttribute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FacetAttribute.BuilderattributeDefinition(Consumer<FacetAttributeDefinition.Builder> attributeDefinition)A facet attribute consists of either a definition or a reference.FacetAttribute.BuilderattributeDefinition(FacetAttributeDefinition attributeDefinition)A facet attribute consists of either a definition or a reference.default FacetAttribute.BuilderattributeReference(Consumer<FacetAttributeReference.Builder> attributeReference)An attribute reference that is associated with the attribute.FacetAttribute.BuilderattributeReference(FacetAttributeReference attributeReference)An attribute reference that is associated with the attribute.FacetAttribute.Buildername(String name)The name of the facet attribute.FacetAttribute.BuilderrequiredBehavior(String requiredBehavior)The required behavior of theFacetAttribute.FacetAttribute.BuilderrequiredBehavior(RequiredAttributeBehavior requiredBehavior)The required behavior of theFacetAttribute.-
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
-
-
-
-
Method Detail
-
name
FacetAttribute.Builder name(String name)
The name of the facet attribute.
- Parameters:
name- The name of the facet attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDefinition
FacetAttribute.Builder attributeDefinition(FacetAttributeDefinition attributeDefinition)
A facet attribute consists of either a definition or a reference. This structure contains the attribute definition. See Attribute References for more information.
- Parameters:
attributeDefinition- A facet attribute consists of either a definition or a reference. This structure contains the attribute definition. See Attribute References for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDefinition
default FacetAttribute.Builder attributeDefinition(Consumer<FacetAttributeDefinition.Builder> attributeDefinition)
A facet attribute consists of either a definition or a reference. This structure contains the attribute definition. See Attribute References for more information.
This is a convenience method that creates an instance of theFacetAttributeDefinition.Builderavoiding the need to create one manually viaFacetAttributeDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeDefinition(FacetAttributeDefinition).- Parameters:
attributeDefinition- a consumer that will call methods onFacetAttributeDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attributeDefinition(FacetAttributeDefinition)
-
attributeReference
FacetAttribute.Builder attributeReference(FacetAttributeReference attributeReference)
An attribute reference that is associated with the attribute. See Attribute References for more information.
- Parameters:
attributeReference- An attribute reference that is associated with the attribute. See Attribute References for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeReference
default FacetAttribute.Builder attributeReference(Consumer<FacetAttributeReference.Builder> attributeReference)
An attribute reference that is associated with the attribute. See Attribute References for more information.
This is a convenience method that creates an instance of theFacetAttributeReference.Builderavoiding the need to create one manually viaFacetAttributeReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeReference(FacetAttributeReference).- Parameters:
attributeReference- a consumer that will call methods onFacetAttributeReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attributeReference(FacetAttributeReference)
-
requiredBehavior
FacetAttribute.Builder requiredBehavior(String requiredBehavior)
The required behavior of the
FacetAttribute.- Parameters:
requiredBehavior- The required behavior of theFacetAttribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequiredAttributeBehavior,RequiredAttributeBehavior
-
requiredBehavior
FacetAttribute.Builder requiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the
FacetAttribute.- Parameters:
requiredBehavior- The required behavior of theFacetAttribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequiredAttributeBehavior,RequiredAttributeBehavior
-
-