public static interface CreateWorkerBlockRequest.Builder extends MTurkRequest.Builder, CopyableBuilder<CreateWorkerBlockRequest.Builder,CreateWorkerBlockRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateWorkerBlockRequest.Builder |
reason(String reason)
A message explaining the reason for blocking the Worker.
|
CreateWorkerBlockRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateWorkerBlockRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateWorkerBlockRequest.Builder |
workerId(String workerId)
The ID of the Worker to block.
|
buildrequestOverrideConfigcopyapply, buildCreateWorkerBlockRequest.Builder workerId(String workerId)
The ID of the Worker to block.
workerId - The ID of the Worker to block.CreateWorkerBlockRequest.Builder reason(String reason)
A message explaining the reason for blocking the Worker. This parameter enables you to keep track of your Workers. The Worker does not see this message.
reason - A message explaining the reason for blocking the Worker. This parameter enables you to keep track of
your Workers. The Worker does not see this message.CreateWorkerBlockRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateWorkerBlockRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.