Class AwsDynamoDbTableKeySchema
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsDynamoDbTableKeySchema
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsDynamoDbTableKeySchema.Builder,AwsDynamoDbTableKeySchema>
@Generated("software.amazon.awssdk:codegen") public final class AwsDynamoDbTableKeySchema extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsDynamoDbTableKeySchema.Builder,AwsDynamoDbTableKeySchema>
A component of the key schema for the DynamoDB table, a global secondary index, or a local secondary index.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsDynamoDbTableKeySchema.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattributeName()The name of the key schema attribute.static AwsDynamoDbTableKeySchema.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyType()The type of key used for the key schema attribute.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsDynamoDbTableKeySchema.Builder>serializableBuilderClass()AwsDynamoDbTableKeySchema.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
attributeName
public final String attributeName()
The name of the key schema attribute.
- Returns:
- The name of the key schema attribute.
-
keyType
public final String keyType()
The type of key used for the key schema attribute. Valid values are
HASHorRANGE.- Returns:
- The type of key used for the key schema attribute. Valid values are
HASHorRANGE.
-
toBuilder
public AwsDynamoDbTableKeySchema.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsDynamoDbTableKeySchema.Builder,AwsDynamoDbTableKeySchema>
-
builder
public static AwsDynamoDbTableKeySchema.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsDynamoDbTableKeySchema.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-