@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaGlobalSecondaryIndexDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of a replica global secondary index.
| Constructor and Description |
|---|
ReplicaGlobalSecondaryIndexDescription() |
| Modifier and Type | Method and Description |
|---|---|
ReplicaGlobalSecondaryIndexDescription |
clone() |
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the global secondary index.
|
OnDemandThroughputOverride |
getOnDemandThroughputOverride()
Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica
table.
|
ProvisionedThroughputOverride |
getProvisionedThroughputOverride()
If not described, uses the source table GSI's read capacity settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIndexName(String indexName)
The name of the global secondary index.
|
void |
setOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica
table.
|
void |
setProvisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
If not described, uses the source table GSI's read capacity settings.
|
String |
toString()
Returns a string representation of this object.
|
ReplicaGlobalSecondaryIndexDescription |
withIndexName(String indexName)
The name of the global secondary index.
|
ReplicaGlobalSecondaryIndexDescription |
withOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica
table.
|
ReplicaGlobalSecondaryIndexDescription |
withProvisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
If not described, uses the source table GSI's read capacity settings.
|
public ReplicaGlobalSecondaryIndexDescription()
public void setIndexName(String indexName)
The name of the global secondary index.
indexName - The name of the global secondary index.public String getIndexName()
The name of the global secondary index.
public ReplicaGlobalSecondaryIndexDescription withIndexName(String indexName)
The name of the global secondary index.
indexName - The name of the global secondary index.public void setProvisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
If not described, uses the source table GSI's read capacity settings.
provisionedThroughputOverride - If not described, uses the source table GSI's read capacity settings.public ProvisionedThroughputOverride getProvisionedThroughputOverride()
If not described, uses the source table GSI's read capacity settings.
public ReplicaGlobalSecondaryIndexDescription withProvisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
If not described, uses the source table GSI's read capacity settings.
provisionedThroughputOverride - If not described, uses the source table GSI's read capacity settings.public void setOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
onDemandThroughputOverride - Overrides the maximum on-demand throughput for the specified global secondary index in the specified
replica table.public OnDemandThroughputOverride getOnDemandThroughputOverride()
Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
public ReplicaGlobalSecondaryIndexDescription withOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
onDemandThroughputOverride - Overrides the maximum on-demand throughput for the specified global secondary index in the specified
replica table.public String toString()
toString in class ObjectObject.toString()public ReplicaGlobalSecondaryIndexDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.