public static interface FacetAttribute.Builder extends CopyableBuilder<FacetAttribute.Builder,FacetAttribute>
| Modifier and Type | Method and Description |
|---|---|
default FacetAttribute.Builder |
attributeDefinition(Consumer<FacetAttributeDefinition.Builder> attributeDefinition)
A facet attribute consists of either a definition or a reference.
|
FacetAttribute.Builder |
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.
|
FacetAttribute.Builder |
attributeReference(FacetAttributeReference attributeReference)
An attribute reference that is associated with the attribute.
|
FacetAttribute.Builder |
name(String name)
The name of the facet attribute.
|
FacetAttribute.Builder |
requiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the
FacetAttribute. |
FacetAttribute.Builder |
requiredBehavior(String requiredBehavior)
The required behavior of the
FacetAttribute. |
copyapply, buildFacetAttribute.Builder name(String name)
The name of the facet attribute.
name - The name of the facet attribute.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.
attributeDefinition - A facet attribute consists of either a definition or a reference. This structure contains the
attribute definition. See Attribute References for more information.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 that creates an instance of theFacetAttributeDefinition.Builder avoiding the
need to create one manually via FacetAttributeDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to attributeDefinition(FacetAttributeDefinition).attributeDefinition - a consumer that will call methods on FacetAttributeDefinition.BuilderattributeDefinition(FacetAttributeDefinition)FacetAttribute.Builder attributeReference(FacetAttributeReference attributeReference)
An attribute reference that is associated with the attribute. See Attribute References for more information.
attributeReference - An attribute reference that is associated with the attribute. See Attribute References for more information.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 that creates an instance of theFacetAttributeReference.Builder avoiding the
need to create one manually via FacetAttributeReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to attributeReference(FacetAttributeReference).attributeReference - a consumer that will call methods on FacetAttributeReference.BuilderattributeReference(FacetAttributeReference)FacetAttribute.Builder requiredBehavior(String requiredBehavior)
The required behavior of the FacetAttribute.
requiredBehavior - The required behavior of the FacetAttribute.RequiredAttributeBehavior,
RequiredAttributeBehaviorFacetAttribute.Builder requiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the FacetAttribute.
requiredBehavior - The required behavior of the FacetAttribute.RequiredAttributeBehavior,
RequiredAttributeBehaviorCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.