Interface CurrentCapacity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CurrentCapacity.Builder,,CurrentCapacity> SdkBuilder<CurrentCapacity.Builder,,CurrentCapacity> SdkPojo
- Enclosing class:
CurrentCapacity
@Mutable
@NotThreadSafe
public static interface CurrentCapacity.Builder
extends SdkPojo, CopyableBuilder<CurrentCapacity.Builder,CurrentCapacity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CurrentCapacity.Builderindexing(Consumer<CapacityDetails.Builder> indexing) The indexing capacity for the collection group.indexing(CapacityDetails indexing) The indexing capacity for the collection group.default CurrentCapacity.Buildersearch(Consumer<CapacityDetails.Builder> search) The search capacity for the collection group.search(CapacityDetails search) The search capacity for the collection group.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
-
search
The search capacity for the collection group.
- Parameters:
search- The search capacity for the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
search
The search capacity for the collection group.
This is a convenience method that creates an instance of theCapacityDetails.Builderavoiding the need to create one manually viaCapacityDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearch(CapacityDetails).- Parameters:
search- a consumer that will call methods onCapacityDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
indexing
The indexing capacity for the collection group.
- Parameters:
indexing- The indexing capacity for the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexing
The indexing capacity for the collection group.
This is a convenience method that creates an instance of theCapacityDetails.Builderavoiding the need to create one manually viaCapacityDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindexing(CapacityDetails).- Parameters:
indexing- a consumer that will call methods onCapacityDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-