public static interface PublicWorkforceTaskPrice.Builder extends SdkPojo, CopyableBuilder<PublicWorkforceTaskPrice.Builder,PublicWorkforceTaskPrice>
Modifier and Type | Method and Description |
---|---|
default PublicWorkforceTaskPrice.Builder |
amountInUsd(Consumer<USD.Builder> amountInUsd)
Defines the amount of money paid to a worker in United States dollars.
|
PublicWorkforceTaskPrice.Builder |
amountInUsd(USD amountInUsd)
Defines the amount of money paid to a worker in United States dollars.
|
copy
applyMutation, build
PublicWorkforceTaskPrice.Builder amountInUsd(USD amountInUsd)
Defines the amount of money paid to a worker in United States dollars.
amountInUsd
- Defines the amount of money paid to a worker in United States dollars.default PublicWorkforceTaskPrice.Builder amountInUsd(Consumer<USD.Builder> amountInUsd)
Defines the amount of money paid to a worker in United States dollars.
This is a convenience that creates an instance of theUSD.Builder
avoiding the need to create one
manually via USD.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to amountInUsd(USD)
.amountInUsd
- a consumer that will call methods on USD.Builder
amountInUsd(USD)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.