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
Modifier and TypeMethodDescriptiondefault CacheUsageLimits.Builder
dataStorage
(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.Builder
ecpuPerSecond
(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
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 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.Builder
avoiding the need to create one manually viaDataStorage.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaECPUPerSecond.builder()
.When the
Consumer
completes,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:
-