public class GlobalSecondaryIndexUpdate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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 | Field and Description |
---|---|
private CreateGlobalSecondaryIndexAction |
create
The parameters required for creating a global secondary index on an
existing table:
|
private DeleteGlobalSecondaryIndexAction |
delete
The name of an existing global secondary index to be removed.
|
private UpdateGlobalSecondaryIndexAction |
update
The name of an existing global secondary index, along with new
provisioned throughput settings to be applied to that index.
|
Constructor and Description |
---|
GlobalSecondaryIndexUpdate() |
Modifier and Type | Method and Description |
---|---|
GlobalSecondaryIndexUpdate |
clone() |
boolean |
equals(java.lang.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 |
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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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.
|
private UpdateGlobalSecondaryIndexAction update
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
private CreateGlobalSecondaryIndexAction create
The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
private DeleteGlobalSecondaryIndexAction delete
The name of an existing global secondary index to be removed.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GlobalSecondaryIndexUpdate clone()
clone
in class java.lang.Object