Interface FacetAttributeDefinition.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FacetAttributeDefinition.Builder,,- FacetAttributeDefinition> - SdkBuilder<FacetAttributeDefinition.Builder,,- FacetAttributeDefinition> - SdkPojo
- Enclosing class:
- FacetAttributeDefinition
@Mutable
@NotThreadSafe
public static interface FacetAttributeDefinition.Builder
extends SdkPojo, CopyableBuilder<FacetAttributeDefinition.Builder,FacetAttributeDefinition> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault FacetAttributeDefinition.BuilderdefaultValue(Consumer<TypedAttributeValue.Builder> defaultValue) The default value of the attribute (if configured).defaultValue(TypedAttributeValue defaultValue) The default value of the attribute (if configured).isImmutable(Boolean isImmutable) Whether the attribute is mutable or not.Validation rules attached to the attribute definition.The type of the attribute.type(FacetAttributeType type) The type of the attribute.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
typeThe type of the attribute. - Parameters:
- type- The type of the attribute.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of the attribute. - Parameters:
- type- The type of the attribute.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
defaultValueThe default value of the attribute (if configured). - Parameters:
- defaultValue- The default value of the attribute (if configured).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
defaultValuedefault FacetAttributeDefinition.Builder defaultValue(Consumer<TypedAttributeValue.Builder> defaultValue) The default value of the attribute (if configured). This is a convenience method that creates an instance of theTypedAttributeValue.Builderavoiding the need to create one manually viaTypedAttributeValue.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultValue(TypedAttributeValue).- Parameters:
- defaultValue- a consumer that will call methods on- TypedAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
isImmutableWhether the attribute is mutable or not. - Parameters:
- isImmutable- Whether the attribute is mutable or not.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rulesValidation rules attached to the attribute definition. - Parameters:
- rules- Validation rules attached to the attribute definition.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-