Interface FacetAttribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FacetAttribute.Builder,
,FacetAttribute> SdkBuilder<FacetAttribute.Builder,
,FacetAttribute> SdkPojo
- Enclosing class:
FacetAttribute
-
Method Summary
Modifier and TypeMethodDescriptiondefault FacetAttribute.Builder
attributeDefinition
(Consumer<FacetAttributeDefinition.Builder> attributeDefinition) A facet attribute consists of either a definition or a reference.attributeDefinition
(FacetAttributeDefinition attributeDefinition) A facet attribute consists of either a definition or a reference.default FacetAttribute.Builder
attributeReference
(Consumer<FacetAttributeReference.Builder> attributeReference) An attribute reference that is associated with the attribute.attributeReference
(FacetAttributeReference attributeReference) An attribute reference that is associated with the attribute.The name of the facet attribute.requiredBehavior
(String requiredBehavior) The required behavior of theFacetAttribute
.requiredBehavior
(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 Details
-
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
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.Builder
avoiding the need to create one manually viaFacetAttributeDefinition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaFacetAttributeReference.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-