CopyableBuilder<FacetAttributeDefinition.Builder,FacetAttributeDefinition>
, SdkBuilder<FacetAttributeDefinition.Builder,FacetAttributeDefinition>
public static interface FacetAttributeDefinition.Builder extends CopyableBuilder<FacetAttributeDefinition.Builder,FacetAttributeDefinition>
Modifier and Type | Method | Description |
---|---|---|
FacetAttributeDefinition.Builder |
defaultValue(TypedAttributeValue defaultValue) |
The default value of the attribute (if configured).
|
FacetAttributeDefinition.Builder |
isImmutable(Boolean isImmutable) |
Whether the attribute is mutable or not.
|
FacetAttributeDefinition.Builder |
rules(Map<String,Rule> rules) |
Validation rules attached to the attribute definition.
|
FacetAttributeDefinition.Builder |
type(String type) |
The type of the attribute.
|
FacetAttributeDefinition.Builder |
type(FacetAttributeType type) |
The type of the attribute.
|
copy
apply, build
FacetAttributeDefinition.Builder type(String type)
The type of the attribute.
type
- The type of the attribute.FacetAttributeType
FacetAttributeDefinition.Builder type(FacetAttributeType type)
The type of the attribute.
type
- The type of the attribute.FacetAttributeType
FacetAttributeDefinition.Builder defaultValue(TypedAttributeValue defaultValue)
The default value of the attribute (if configured).
defaultValue
- The default value of the attribute (if configured).FacetAttributeDefinition.Builder isImmutable(Boolean isImmutable)
Whether the attribute is mutable or not.
isImmutable
- Whether the attribute is mutable or not.FacetAttributeDefinition.Builder rules(Map<String,Rule> rules)
Validation rules attached to the attribute definition.
rules
- Validation rules attached to the attribute definition.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.