@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacityUnitsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies capacity units configured for your enterprise edition 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 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 for an index provides 150 GB of storage space or 500,000 documents, whichever is reached first.
storageCapacityUnits
- The amount of extra storage capacity for an index. A single capacity unit for an index 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. A single capacity unit for an index 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. A single capacity unit for an index provides 150 GB of storage space or 500,000 documents, whichever is reached first.
storageCapacityUnits
- The amount of extra storage capacity for an index. A single capacity unit for an index 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 and GetQuerySuggestions capacity.
A single extra capacity unit for an index provides 0.5 queries per second or approximately 40,000 queries per day.
GetQuerySuggestions
capacity is 5 times the provisioned query capacity for an index. For example,
the base capacity for an index is 0.5 queries per second, so GetQuerySuggestions capacity is 2.5 calls per
second. If adding another 0.5 queries per second to total 1 queries per second for an index, the
GetQuerySuggestions
capacity is 5 calls 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.5 queries per second or approximately 40,000 queries per day.
GetQuerySuggestions
capacity is 5 times the provisioned query capacity for an index. For
example, the base capacity for an index is 0.5 queries per second, so GetQuerySuggestions capacity is 2.5
calls per second. If adding another 0.5 queries per second to total 1 queries per second for an index, the
GetQuerySuggestions
capacity is 5 calls 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.5 queries per second or approximately 40,000 queries per day.
GetQuerySuggestions
capacity is 5 times the provisioned query capacity for an index. For example,
the base capacity for an index is 0.5 queries per second, so GetQuerySuggestions capacity is 2.5 calls per
second. If adding another 0.5 queries per second to total 1 queries per second for an index, the
GetQuerySuggestions
capacity is 5 calls per second.
A single extra capacity unit for an index provides 0.5 queries per second or approximately 40,000 queries per day.
GetQuerySuggestions
capacity is 5 times the provisioned query capacity for an index. For
example, the base capacity for an index is 0.5 queries per second, so GetQuerySuggestions capacity is 2.5
calls per second. If adding another 0.5 queries per second to total 1 queries per second for an index,
the GetQuerySuggestions
capacity is 5 calls 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.5 queries per second or approximately 40,000 queries per day.
GetQuerySuggestions
capacity is 5 times the provisioned query capacity for an index. For example,
the base capacity for an index is 0.5 queries per second, so GetQuerySuggestions capacity is 2.5 calls per
second. If adding another 0.5 queries per second to total 1 queries per second for an index, the
GetQuerySuggestions
capacity is 5 calls 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.5 queries per second or approximately 40,000 queries per day.
GetQuerySuggestions
capacity is 5 times the provisioned query capacity for an index. For
example, the base capacity for an index is 0.5 queries per second, so GetQuerySuggestions capacity is 2.5
calls per second. If adding another 0.5 queries per second to total 1 queries per second for an index, the
GetQuerySuggestions
capacity is 5 calls 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.