@Generated(value="software.amazon.awssdk:codegen") public final class GlobalSecondaryIndexUpdate extends Object implements StructuredPojo, 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.
Modifier and Type | Class and Description |
---|---|
static interface |
GlobalSecondaryIndexUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
static GlobalSecondaryIndexUpdate.Builder |
builder() |
CreateGlobalSecondaryIndexAction |
create()
The parameters required for creating a global secondary index on an existing table:
|
DeleteGlobalSecondaryIndexAction |
delete()
The name of an existing global secondary index to be removed.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends GlobalSecondaryIndexUpdate.Builder> |
serializableBuilderClass() |
GlobalSecondaryIndexUpdate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
UpdateGlobalSecondaryIndexAction |
update()
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to
that index.
|
copy
public UpdateGlobalSecondaryIndexAction update()
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
public CreateGlobalSecondaryIndexAction create()
The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
public DeleteGlobalSecondaryIndexAction delete()
The name of an existing global secondary index to be removed.
public GlobalSecondaryIndexUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GlobalSecondaryIndexUpdate.Builder,GlobalSecondaryIndexUpdate>
public static GlobalSecondaryIndexUpdate.Builder builder()
public static Class<? extends GlobalSecondaryIndexUpdate.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.