Interface CacheUsageLimits.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CacheUsageLimits.Builder,CacheUsageLimits>,SdkBuilder<CacheUsageLimits.Builder,CacheUsageLimits>,SdkPojo
- Enclosing class:
- CacheUsageLimits
@Mutable @NotThreadSafe public static interface CacheUsageLimits.Builder extends SdkPojo, CopyableBuilder<CacheUsageLimits.Builder,CacheUsageLimits>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CacheUsageLimits.BuilderdataStorage(Consumer<DataStorage.Builder> dataStorage)The maximum data storage limit in the cache, expressed in Gigabytes.CacheUsageLimits.BuilderdataStorage(DataStorage dataStorage)The maximum data storage limit in the cache, expressed in Gigabytes.default CacheUsageLimits.BuilderecpuPerSecond(Consumer<ECPUPerSecond.Builder> ecpuPerSecond)Sets the value of the ECPUPerSecond property for this object.CacheUsageLimits.BuilderecpuPerSecond(ECPUPerSecond ecpuPerSecond)Sets the value of the ECPUPerSecond property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dataStorage
CacheUsageLimits.Builder dataStorage(DataStorage dataStorage)
The maximum data storage limit in the cache, expressed in Gigabytes.
- Parameters:
dataStorage- The maximum data storage limit in the cache, expressed in Gigabytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataStorage
default CacheUsageLimits.Builder dataStorage(Consumer<DataStorage.Builder> dataStorage)
The maximum data storage limit in the cache, expressed in Gigabytes.
This is a convenience method that creates an instance of theDataStorage.Builderavoiding the need to create one manually viaDataStorage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataStorage(DataStorage).- Parameters:
dataStorage- a consumer that will call methods onDataStorage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataStorage(DataStorage)
-
ecpuPerSecond
CacheUsageLimits.Builder ecpuPerSecond(ECPUPerSecond ecpuPerSecond)
Sets the value of the ECPUPerSecond property for this object.- Parameters:
ecpuPerSecond- The new value for the ECPUPerSecond property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecpuPerSecond
default CacheUsageLimits.Builder ecpuPerSecond(Consumer<ECPUPerSecond.Builder> ecpuPerSecond)
Sets the value of the ECPUPerSecond property for this object. This is a convenience method that creates an instance of theECPUPerSecond.Builderavoiding the need to create one manually viaECPUPerSecond.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecpuPerSecond(ECPUPerSecond).- Parameters:
ecpuPerSecond- a consumer that will call methods onECPUPerSecond.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ecpuPerSecond(ECPUPerSecond)
-
-