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.Builder
amountInUsd(Consumer<USD.Builder> amountInUsd)
Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.PublicWorkforceTaskPrice.Builder
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, sdkFieldNameToField, 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.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:
amountInUsd(USD)
-
-