@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityUnitsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies additional capacity units configured for your Enterprise Edition index. You can add and remove capacity units to fit your usage 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 and GetQuerySuggestions
capacity.
|
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 and GetQuerySuggestions
capacity.
|
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 and GetQuerySuggestions
capacity.
|
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. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.
storageCapacityUnits
- The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space
or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.public Integer getStorageCapacityUnits()
The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.
public CapacityUnitsConfiguration withStorageCapacityUnits(Integer storageCapacityUnits)
The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.
storageCapacityUnits
- The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space
or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.public void setQueryCapacityUnits(Integer queryCapacityUnits)
The amount of extra query capacity for an index and GetQuerySuggestions capacity.
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or the base
capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries
per second, and GetQuerySuggestions
capacity has a base of 2.5 calls per second. If you add another
0.1 queries per second to total 0.2 queries per second for an index, the GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per second).
queryCapacityUnits
- The amount of extra query capacity for an index and GetQuerySuggestions
capacity.
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or
the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an
index is 0.1 queries per second, and GetQuerySuggestions
capacity has a base of 2.5 calls per
second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the
GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per
second).
public Integer getQueryCapacityUnits()
The amount of extra query capacity for an index and GetQuerySuggestions capacity.
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or the base
capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries
per second, and GetQuerySuggestions
capacity has a base of 2.5 calls per second. If you add another
0.1 queries per second to total 0.2 queries per second for an index, the GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per second).
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or
the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an
index is 0.1 queries per second, and GetQuerySuggestions
capacity has a base of 2.5 calls
per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the
GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per
second).
public CapacityUnitsConfiguration withQueryCapacityUnits(Integer queryCapacityUnits)
The amount of extra query capacity for an index and GetQuerySuggestions capacity.
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or the base
capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries
per second, and GetQuerySuggestions
capacity has a base of 2.5 calls per second. If you add another
0.1 queries per second to total 0.2 queries per second for an index, the GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per second).
queryCapacityUnits
- The amount of extra query capacity for an index and GetQuerySuggestions
capacity.
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or
the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an
index is 0.1 queries per second, and GetQuerySuggestions
capacity has a base of 2.5 calls per
second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the
GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per
second).
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.