@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityUnitsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies capacity units configured for your index. You can add and remove capacity units to tune an index to your requirements.
Constructor and Description |
---|
CapacityUnitsConfiguration() |
Modifier and Type | Method and Description |
---|---|
CapacityUnitsConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getQueryCapacityUnits()
The amount of extra query capacity for an index.
|
Integer |
getStorageCapacityUnits()
The amount of extra storage capacity for an index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setQueryCapacityUnits(Integer queryCapacityUnits)
The amount of extra query capacity for an index.
|
void |
setStorageCapacityUnits(Integer storageCapacityUnits)
The amount of extra storage capacity for an index.
|
String |
toString()
Returns a string representation of this object.
|
CapacityUnitsConfiguration |
withQueryCapacityUnits(Integer queryCapacityUnits)
The amount of extra query capacity for an index.
|
CapacityUnitsConfiguration |
withStorageCapacityUnits(Integer storageCapacityUnits)
The amount of extra storage capacity for an index.
|
public void setStorageCapacityUnits(Integer storageCapacityUnits)
The amount of extra storage capacity for an index. Each capacity unit provides 150 Gb of storage space or 500,000 documents, whichever is reached first.
storageCapacityUnits
- The amount of extra storage capacity for an index. Each capacity unit provides 150 Gb of storage space or
500,000 documents, whichever is reached first.public Integer getStorageCapacityUnits()
The amount of extra storage capacity for an index. Each capacity unit provides 150 Gb of storage space or 500,000 documents, whichever is reached first.
public CapacityUnitsConfiguration withStorageCapacityUnits(Integer storageCapacityUnits)
The amount of extra storage capacity for an index. Each capacity unit provides 150 Gb of storage space or 500,000 documents, whichever is reached first.
storageCapacityUnits
- The amount of extra storage capacity for an index. Each capacity unit provides 150 Gb of storage space or
500,000 documents, whichever is reached first.public void setQueryCapacityUnits(Integer queryCapacityUnits)
The amount of extra query capacity for an index. Each capacity unit provides 0.5 queries per second and 40,000 queries per day.
queryCapacityUnits
- The amount of extra query capacity for an index. Each capacity unit provides 0.5 queries per second and
40,000 queries per day.public Integer getQueryCapacityUnits()
The amount of extra query capacity for an index. Each capacity unit provides 0.5 queries per second and 40,000 queries per day.
public CapacityUnitsConfiguration withQueryCapacityUnits(Integer queryCapacityUnits)
The amount of extra query capacity for an index. Each capacity unit provides 0.5 queries per second and 40,000 queries per day.
queryCapacityUnits
- The amount of extra query capacity for an index. Each capacity unit provides 0.5 queries per second and
40,000 queries per day.public String toString()
toString
in class Object
Object.toString()
public CapacityUnitsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.