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