Interface CreateWorkerBlockRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkerBlockRequest.Builder,,CreateWorkerBlockRequest> MTurkRequest.Builder,SdkBuilder<CreateWorkerBlockRequest.Builder,,CreateWorkerBlockRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkerBlockRequest
public static interface CreateWorkerBlockRequest.Builder
extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkerBlockRequest.Builder,CreateWorkerBlockRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A message explaining the reason for blocking the Worker.The ID of the Worker to block.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
workerId
The ID of the Worker to block.
- Parameters:
workerId- The ID of the Worker to block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWorkerBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkerBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-