Interface PublicWorkforceTaskPrice.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PublicWorkforceTaskPrice.Builder,
,PublicWorkforceTaskPrice> SdkBuilder<PublicWorkforceTaskPrice.Builder,
,PublicWorkforceTaskPrice> SdkPojo
- Enclosing class:
PublicWorkforceTaskPrice
public static interface PublicWorkforceTaskPrice.Builder
extends SdkPojo, CopyableBuilder<PublicWorkforceTaskPrice.Builder,PublicWorkforceTaskPrice>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PublicWorkforceTaskPrice.Builder
amountInUsd
(Consumer<USD.Builder> amountInUsd) Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.amountInUsd
(USD amountInUsd) Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.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 Details
-
amountInUsd
Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.
- Parameters:
amountInUsd
- Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amountInUsd
Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.
This is a convenience method that creates an instance of theUSD.Builder
avoiding the need to create one manually viaUSD.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamountInUsd(USD)
.- Parameters:
amountInUsd
- a consumer that will call methods onUSD.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-