Interface DatastoreStatistics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatastoreStatistics.Builder,,DatastoreStatistics> SdkBuilder<DatastoreStatistics.Builder,,DatastoreStatistics> SdkPojo
- Enclosing class:
DatastoreStatistics
@Mutable
@NotThreadSafe
public static interface DatastoreStatistics.Builder
extends SdkPojo, CopyableBuilder<DatastoreStatistics.Builder,DatastoreStatistics>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatastoreStatistics.BuilderThe estimated size of the data store.size(EstimatedResourceSize size) The estimated size of the data store.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, sdkFieldNameToField, sdkFields
-
Method Details
-
size
The estimated size of the data store.
- Parameters:
size- The estimated size of the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
The estimated size of the data store.
This is a convenience method that creates an instance of theEstimatedResourceSize.Builderavoiding the need to create one manually viaEstimatedResourceSize.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosize(EstimatedResourceSize).- Parameters:
size- a consumer that will call methods onEstimatedResourceSize.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-