Interface FacetAttribute.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FacetAttribute.Builder,,FacetAttribute> SdkBuilder<FacetAttribute.Builder,,FacetAttribute> SdkPojo
- Enclosing class:
FacetAttribute
-
Method Summary
Modifier and TypeMethodDescriptiondefault FacetAttribute.BuilderattributeDefinition(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.BuilderattributeReference(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
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:
-
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:
-