Interface WorkerCapabilities.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkerCapabilities.Builder,
,WorkerCapabilities> SdkBuilder<WorkerCapabilities.Builder,
,WorkerCapabilities> SdkPojo
- Enclosing class:
WorkerCapabilities
@Mutable
@NotThreadSafe
public static interface WorkerCapabilities.Builder
extends SdkPojo, CopyableBuilder<WorkerCapabilities.Builder,WorkerCapabilities>
-
Method Summary
Modifier and TypeMethodDescriptionamounts
(Collection<WorkerAmountCapability> amounts) The worker capabilities amounts on a list of worker capabilities.amounts
(Consumer<WorkerAmountCapability.Builder>... amounts) The worker capabilities amounts on a list of worker capabilities.amounts
(WorkerAmountCapability... amounts) The worker capabilities amounts on a list of worker capabilities.attributes
(Collection<WorkerAttributeCapability> attributes) The worker attribute capabilities in the list of attribute capabilities.attributes
(Consumer<WorkerAttributeCapability.Builder>... attributes) The worker attribute capabilities in the list of attribute capabilities.attributes
(WorkerAttributeCapability... attributes) The worker attribute capabilities in the list of attribute capabilities.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
-
amounts
The worker capabilities amounts on a list of worker capabilities.
- Parameters:
amounts
- The worker capabilities amounts on a list of worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
The worker capabilities amounts on a list of worker capabilities.
- Parameters:
amounts
- The worker capabilities amounts on a list of worker capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
The worker capabilities amounts on a list of worker capabilities.
This is a convenience method that creates an instance of theWorkerAmountCapability.Builder
avoiding the need to create one manually viaWorkerAmountCapability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamounts(List<WorkerAmountCapability>)
.- Parameters:
amounts
- a consumer that will call methods onWorkerAmountCapability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
The worker attribute capabilities in the list of attribute capabilities.
- Parameters:
attributes
- The worker attribute capabilities in the list of attribute capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The worker attribute capabilities in the list of attribute capabilities.
- Parameters:
attributes
- The worker attribute capabilities in the list of attribute capabilities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The worker attribute capabilities in the list of attribute capabilities.
This is a convenience method that creates an instance of theWorkerAttributeCapability.Builder
avoiding the need to create one manually viaWorkerAttributeCapability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<WorkerAttributeCapability>)
.- Parameters:
attributes
- a consumer that will call methods onWorkerAttributeCapability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-