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
Modifier and TypeMethodDescriptionThe DynamoDB type of the key attributestatic StaticKeyAttributeMetadatacreate(String name, AttributeValueType attributeValueType) static StaticKeyAttributeMetadatacreate(String name, AttributeValueType attributeValueType, Order order) booleaninthashCode()name()The name of the key attributeorder()The order of the key attribute for composite keys.
-
Method Details
-
create
-
create
public static StaticKeyAttributeMetadata create(String name, AttributeValueType attributeValueType, Order order) -
name
Description copied from interface:KeyAttributeMetadataThe name of the key attribute- Specified by:
namein interfaceKeyAttributeMetadata
-
attributeValueType
Description copied from interface:KeyAttributeMetadataThe DynamoDB type of the key attribute- Specified by:
attributeValueTypein interfaceKeyAttributeMetadata
-
order
Description copied from interface:KeyAttributeMetadataThe order of the key attribute for composite keys. Default is -1 for implicit ordering.- Specified by:
orderin interfaceKeyAttributeMetadata
-
equals
-
hashCode
-