Interface CapacityUnitsConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityUnitsConfiguration.Builder,CapacityUnitsConfiguration>,SdkBuilder<CapacityUnitsConfiguration.Builder,CapacityUnitsConfiguration>,SdkPojo
- Enclosing class:
- CapacityUnitsConfiguration
public static interface CapacityUnitsConfiguration.Builder extends SdkPojo, CopyableBuilder<CapacityUnitsConfiguration.Builder,CapacityUnitsConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityUnitsConfiguration.BuilderqueryCapacityUnits(Integer queryCapacityUnits)The amount of extra query capacity for an index and GetQuerySuggestions capacity.CapacityUnitsConfiguration.BuilderstorageCapacityUnits(Integer storageCapacityUnits)The amount of extra storage capacity for an index.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
storageCapacityUnits
CapacityUnitsConfiguration.Builder storageCapacityUnits(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryCapacityUnits
CapacityUnitsConfiguration.Builder queryCapacityUnits(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.
GetQuerySuggestionscapacity 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, andGetQuerySuggestionscapacity 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, theGetQuerySuggestionscapacity is 2.5 calls per second (higher than five times 0.2 queries per second).- Parameters:
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.
GetQuerySuggestionscapacity 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, andGetQuerySuggestionscapacity 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, theGetQuerySuggestionscapacity is 2.5 calls per second (higher than five times 0.2 queries per second).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-