Class StaticKeyAttributeMetadata
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.mapper.StaticKeyAttributeMetadata
-
- All Implemented Interfaces:
KeyAttributeMetadata
@SdkInternalApi public class StaticKeyAttributeMetadata extends Object implements KeyAttributeMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeValueTypeattributeValueType()The DynamoDB type of the key attributestatic StaticKeyAttributeMetadatacreate(String name, AttributeValueType attributeValueType)static StaticKeyAttributeMetadatacreate(String name, AttributeValueType attributeValueType, Order order)booleanequals(Object o)inthashCode()Stringname()The name of the key attributeOrderorder()The order of the key attribute for composite keys.
-
-
-
Method Detail
-
create
public static StaticKeyAttributeMetadata create(String name, AttributeValueType attributeValueType)
-
create
public static StaticKeyAttributeMetadata create(String name, AttributeValueType attributeValueType, Order order)
-
name
public String name()
Description copied from interface:KeyAttributeMetadataThe name of the key attribute- Specified by:
namein interfaceKeyAttributeMetadata
-
attributeValueType
public AttributeValueType attributeValueType()
Description copied from interface:KeyAttributeMetadataThe DynamoDB type of the key attribute- Specified by:
attributeValueTypein interfaceKeyAttributeMetadata
-
order
public Order order()
Description copied from interface:KeyAttributeMetadataThe order of the key attribute for composite keys. Default is -1 for implicit ordering.- Specified by:
orderin interfaceKeyAttributeMetadata
-
-