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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PublicWorkforceTaskPrice.BuilderamountInUsd(Consumer<USD.Builder> amountInUsd)Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.PublicWorkforceTaskPrice.BuilderamountInUsd(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 Detail
-
amountInUsd
PublicWorkforceTaskPrice.Builder amountInUsd(USD 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
default PublicWorkforceTaskPrice.Builder amountInUsd(Consumer<USD.Builder> 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.Builderavoiding the need to create one manually viaUSD.builder().When the
Consumercompletes,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:
amountInUsd(USD)
-
-