StructuredPojo
, ToCopyableBuilder<FacetAttributeDefinition.Builder,FacetAttributeDefinition>
@Generated("software.amazon.awssdk:codegen") public class FacetAttributeDefinition extends Object implements StructuredPojo, ToCopyableBuilder<FacetAttributeDefinition.Builder,FacetAttributeDefinition>
A facet attribute definition. See Attribute References for more information.
Modifier and Type | Class | Description |
---|---|---|
static interface |
FacetAttributeDefinition.Builder |
Modifier and Type | Method | Description |
---|---|---|
static FacetAttributeDefinition.Builder |
builder() |
|
TypedAttributeValue |
defaultValue() |
The default value of the attribute (if configured).
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Boolean |
isImmutable() |
Whether the attribute is mutable or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Map<String,Rule> |
rules() |
Validation rules attached to the attribute definition.
|
static Class<? extends FacetAttributeDefinition.Builder> |
serializableBuilderClass() |
|
FacetAttributeDefinition.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of the attribute.
|
public String type()
The type of the attribute.
FacetAttributeType
public TypedAttributeValue defaultValue()
The default value of the attribute (if configured).
public Boolean isImmutable()
Whether the attribute is mutable or not.
public Map<String,Rule> rules()
Validation rules attached to the attribute definition.
public FacetAttributeDefinition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FacetAttributeDefinition.Builder,FacetAttributeDefinition>
public static FacetAttributeDefinition.Builder builder()
public static Class<? extends FacetAttributeDefinition.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.