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 |
workerId(String workerId)
The ID of the Worker to block.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateWorkerBlockRequest.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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.