Class GlobalSecondaryIndexUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.GlobalSecondaryIndexUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GlobalSecondaryIndexUpdate.Builder,GlobalSecondaryIndexUpdate>
@Generated("software.amazon.awssdk:codegen") public final class GlobalSecondaryIndexUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GlobalSecondaryIndexUpdate.Builder,GlobalSecondaryIndexUpdate>
Represents one of the following:
-
A new global secondary index to be added to an existing table.
-
New provisioned throughput parameters for an existing global secondary index.
-
An existing global secondary index to be removed from an existing table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGlobalSecondaryIndexUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GlobalSecondaryIndexUpdate.Builderbuilder()CreateGlobalSecondaryIndexActioncreate()The parameters required for creating a global secondary index on an existing table:DeleteGlobalSecondaryIndexActiondelete()The name of an existing global secondary index to be removed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GlobalSecondaryIndexUpdate.Builder>serializableBuilderClass()GlobalSecondaryIndexUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.UpdateGlobalSecondaryIndexActionupdate()The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.-
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
-
update
public final UpdateGlobalSecondaryIndexAction update()
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
- Returns:
- The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
-
create
public final CreateGlobalSecondaryIndexAction create()
The parameters required for creating a global secondary index on an existing table:
-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
- Returns:
- The parameters required for creating a global secondary index on an existing table:
-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
-
-
-
delete
public final DeleteGlobalSecondaryIndexAction delete()
The name of an existing global secondary index to be removed.
- Returns:
- The name of an existing global secondary index to be removed.
-
toBuilder
public GlobalSecondaryIndexUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GlobalSecondaryIndexUpdate.Builder,GlobalSecondaryIndexUpdate>
-
builder
public static GlobalSecondaryIndexUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends GlobalSecondaryIndexUpdate.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
-
-