Interface CacheUsageLimits.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CacheUsageLimits.Builder,,CacheUsageLimits> SdkBuilder<CacheUsageLimits.Builder,,CacheUsageLimits> SdkPojo
- Enclosing class:
CacheUsageLimits
public static interface CacheUsageLimits.Builder
extends SdkPojo, CopyableBuilder<CacheUsageLimits.Builder,CacheUsageLimits>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CacheUsageLimits.BuilderdataStorage(Consumer<DataStorage.Builder> dataStorage) The maximum data storage limit in the cache, expressed in Gigabytes.dataStorage(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.ecpuPerSecond(ECPUPerSecond ecpuPerSecond) Sets the value of the ECPUPerSecond property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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:
-