Interface WorkerCapabilities.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkerCapabilities.Builder,WorkerCapabilities>,SdkBuilder<WorkerCapabilities.Builder,WorkerCapabilities>,SdkPojo
- Enclosing class:
- WorkerCapabilities
public static interface WorkerCapabilities.Builder extends SdkPojo, CopyableBuilder<WorkerCapabilities.Builder,WorkerCapabilities>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkerCapabilities.Builderamounts(Collection<WorkerAmountCapability> amounts)The worker capabilities amounts on a list of worker capabilities.WorkerCapabilities.Builderamounts(Consumer<WorkerAmountCapability.Builder>... amounts)The worker capabilities amounts on a list of worker capabilities.WorkerCapabilities.Builderamounts(WorkerAmountCapability... amounts)The worker capabilities amounts on a list of worker capabilities.WorkerCapabilities.Builderattributes(Collection<WorkerAttributeCapability> attributes)The worker attribute capabilities in the list of attribute capabilities.WorkerCapabilities.Builderattributes(Consumer<WorkerAttributeCapability.Builder>... attributes)The worker attribute capabilities in the list of attribute capabilities.WorkerCapabilities.Builderattributes(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, sdkFields
-
-
-
-
Method Detail
-
amounts
WorkerCapabilities.Builder amounts(Collection<WorkerAmountCapability> 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
WorkerCapabilities.Builder amounts(WorkerAmountCapability... 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
WorkerCapabilities.Builder amounts(Consumer<WorkerAmountCapability.Builder>... amounts)
The worker capabilities amounts on a list of worker capabilities.
This is a convenience method that creates an instance of theWorkerAmountCapability.Builderavoiding the need to create one manually viaWorkerAmountCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#amounts(List.) - 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:
#amounts(java.util.Collection)
-
attributes
WorkerCapabilities.Builder attributes(Collection<WorkerAttributeCapability> 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
WorkerCapabilities.Builder attributes(WorkerAttributeCapability... 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
WorkerCapabilities.Builder attributes(Consumer<WorkerAttributeCapability.Builder>... attributes)
The worker attribute capabilities in the list of attribute capabilities.
This is a convenience method that creates an instance of theWorkerAttributeCapability.Builderavoiding the need to create one manually viaWorkerAttributeCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-