Class GlobalSecondaryIndexUpdate
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.model.GlobalSecondaryIndexUpdate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GlobalSecondaryIndexUpdate extends Object implements Serializable, 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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlobalSecondaryIndexUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalSecondaryIndexUpdateclone()booleanequals(Object obj)CreateGlobalSecondaryIndexActiongetCreate()The parameters required for creating a global secondary index on an existing table:DeleteGlobalSecondaryIndexActiongetDelete()The name of an existing global secondary index to be removed.UpdateGlobalSecondaryIndexActiongetUpdate()The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.inthashCode()voidsetCreate(CreateGlobalSecondaryIndexAction create)The parameters required for creating a global secondary index on an existing table:voidsetDelete(DeleteGlobalSecondaryIndexAction delete)The name of an existing global secondary index to be removed.voidsetUpdate(UpdateGlobalSecondaryIndexAction update)The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.StringtoString()Returns a string representation of this object; useful for testing and debugging.GlobalSecondaryIndexUpdatewithCreate(CreateGlobalSecondaryIndexAction create)The parameters required for creating a global secondary index on an existing table:GlobalSecondaryIndexUpdatewithDelete(DeleteGlobalSecondaryIndexAction delete)The name of an existing global secondary index to be removed.GlobalSecondaryIndexUpdatewithUpdate(UpdateGlobalSecondaryIndexAction update)The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
-
-
-
Method Detail
-
setUpdate
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.
- Parameters:
update- The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
-
getUpdate
public UpdateGlobalSecondaryIndexAction getUpdate()
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.
-
withUpdate
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.
- Parameters:
update- The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreate
public void setCreate(CreateGlobalSecondaryIndexAction create)
The parameters required for creating a global secondary index on an existing table:
-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
- Parameters:
create- The parameters required for creating a global secondary index on an existing table:-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
-
-
-
getCreate
public CreateGlobalSecondaryIndexAction getCreate()
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
-
-
-
withCreate
public GlobalSecondaryIndexUpdate withCreate(CreateGlobalSecondaryIndexAction create)
The parameters required for creating a global secondary index on an existing table:
-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
- Parameters:
create- The parameters required for creating a global secondary index on an existing table:-
IndexName -
KeySchema -
AttributeDefinitions -
Projection -
ProvisionedThroughput
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setDelete
public void setDelete(DeleteGlobalSecondaryIndexAction delete)
The name of an existing global secondary index to be removed.
- Parameters:
delete- The name of an existing global secondary index to be removed.
-
getDelete
public DeleteGlobalSecondaryIndexAction getDelete()
The name of an existing global secondary index to be removed.
- Returns:
- The name of an existing global secondary index to be removed.
-
withDelete
public GlobalSecondaryIndexUpdate withDelete(DeleteGlobalSecondaryIndexAction delete)
The name of an existing global secondary index to be removed.
- Parameters:
delete- The name of an existing global secondary index to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GlobalSecondaryIndexUpdate clone()
-
-