Interface WorkerSetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkerSetting.Builder,,WorkerSetting> SdkBuilder<WorkerSetting.Builder,,WorkerSetting> SdkPojo
- Enclosing class:
WorkerSetting
@Mutable
@NotThreadSafe
public static interface WorkerSetting.Builder
extends SdkPojo, CopyableBuilder<WorkerSetting.Builder,WorkerSetting>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkerSetting.Buildercapacity(Consumer<CapacityDescription.Builder> capacity) Sets the value of the Capacity property for this object.capacity(CapacityDescription capacity) Sets the value of the Capacity 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, sdkFieldNameToField, sdkFields
-
Method Details
-
capacity
Sets the value of the Capacity property for this object.- Parameters:
capacity- The new value for the Capacity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
Sets the value of the Capacity property for this object. This is a convenience method that creates an instance of theCapacityDescription.Builderavoiding the need to create one manually viaCapacityDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacity(CapacityDescription).- Parameters:
capacity- a consumer that will call methods onCapacityDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-