@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalSecondaryIndexUpdate extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
GlobalSecondaryIndexUpdate() |
Modifier and Type | Method and Description |
---|---|
GlobalSecondaryIndexUpdate |
clone() |
boolean |
equals(Object obj) |
CreateGlobalSecondaryIndexAction |
getCreate()
The parameters required for creating a global secondary index on an existing table:
|
DeleteGlobalSecondaryIndexAction |
getDelete()
The name of an existing global secondary index to be removed.
|
UpdateGlobalSecondaryIndexAction |
getUpdate()
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to
that index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreate(CreateGlobalSecondaryIndexAction create)
The parameters required for creating a global secondary index on an existing table:
|
void |
setDelete(DeleteGlobalSecondaryIndexAction delete)
The name of an existing global secondary index to be removed.
|
void |
setUpdate(UpdateGlobalSecondaryIndexAction update)
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to
that index.
|
String |
toString()
Returns a string representation of this object.
|
GlobalSecondaryIndexUpdate |
withCreate(CreateGlobalSecondaryIndexAction create)
The parameters required for creating a global secondary index on an existing table:
|
GlobalSecondaryIndexUpdate |
withDelete(DeleteGlobalSecondaryIndexAction delete)
The name of an existing global secondary index to be removed.
|
GlobalSecondaryIndexUpdate |
withUpdate(UpdateGlobalSecondaryIndexAction update)
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to
that index.
|
public void setUpdate(UpdateGlobalSecondaryIndexAction update)
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
update
- The name of an existing global secondary index, along with new provisioned throughput settings to be
applied to that index.public UpdateGlobalSecondaryIndexAction getUpdate()
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
public GlobalSecondaryIndexUpdate withUpdate(UpdateGlobalSecondaryIndexAction update)
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
update
- The name of an existing global secondary index, along with new provisioned throughput settings to be
applied to that index.public void setCreate(CreateGlobalSecondaryIndexAction create)
The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
create
- The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
public CreateGlobalSecondaryIndexAction getCreate()
The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
public GlobalSecondaryIndexUpdate withCreate(CreateGlobalSecondaryIndexAction create)
The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
create
- The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
public void setDelete(DeleteGlobalSecondaryIndexAction delete)
The name of an existing global secondary index to be removed.
delete
- The name of an existing global secondary index to be removed.public DeleteGlobalSecondaryIndexAction getDelete()
The name of an existing global secondary index to be removed.
public GlobalSecondaryIndexUpdate withDelete(DeleteGlobalSecondaryIndexAction delete)
The name of an existing global secondary index to be removed.
delete
- The name of an existing global secondary index to be removed.public String toString()
toString
in class Object
Object.toString()
public GlobalSecondaryIndexUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.