Interface WorkerBlock.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkerBlock.Builder,WorkerBlock>,SdkBuilder<WorkerBlock.Builder,WorkerBlock>,SdkPojo
- Enclosing class:
- WorkerBlock
public static interface WorkerBlock.Builder extends SdkPojo, CopyableBuilder<WorkerBlock.Builder,WorkerBlock>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkerBlock.Builderreason(String reason)A message explaining the reason the Worker was blocked.WorkerBlock.BuilderworkerId(String workerId)The ID of the Worker who accepted the HIT.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
workerId
WorkerBlock.Builder workerId(String workerId)
The ID of the Worker who accepted the HIT.
- Parameters:
workerId- The ID of the Worker who accepted the HIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
WorkerBlock.Builder reason(String reason)
A message explaining the reason the Worker was blocked.
- Parameters:
reason- A message explaining the reason the Worker was blocked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-