Interface WorkerSetting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkerSetting.Builder,WorkerSetting>,SdkBuilder<WorkerSetting.Builder,WorkerSetting>,SdkPojo
- Enclosing class:
- WorkerSetting
public static interface WorkerSetting.Builder extends SdkPojo, CopyableBuilder<WorkerSetting.Builder,WorkerSetting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default WorkerSetting.Buildercapacity(Consumer<CapacityDescription.Builder> capacity)Sets the value of the Capacity property for this object.WorkerSetting.Buildercapacity(CapacityDescription capacity)Sets the value of the Capacity 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 Detail
-
capacity
WorkerSetting.Builder capacity(CapacityDescription 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
default WorkerSetting.Builder capacity(Consumer<CapacityDescription.Builder> 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:
capacity(CapacityDescription)
-
-