public static interface CreateWorkerBlockRequest.Builder extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkerBlockRequest.Builder,CreateWorkerBlockRequest>
Modifier and Type | Method and Description |
---|---|
CreateWorkerBlockRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateWorkerBlockRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateWorkerBlockRequest.Builder |
reason(String reason)
A message explaining the reason for blocking the Worker.
|
CreateWorkerBlockRequest.Builder |
workerId(String workerId)
The ID of the Worker to block.
|
build
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateWorkerBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.