@Generated(value="software.amazon.awssdk:codegen") public class NotifyWorkersFailureStatus extends Object implements StructuredPojo, ToCopyableBuilder<NotifyWorkersFailureStatus.Builder,NotifyWorkersFailureStatus>
When MTurk encounters an issue with notifying the Workers you specified, it returns back this object with failure details.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotifyWorkersFailureStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NotifyWorkersFailureStatus.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
NotifyWorkersFailureCode |
notifyWorkersFailureCode()
Encoded value for the failure type.
|
String |
notifyWorkersFailureCodeAsString()
Encoded value for the failure type.
|
String |
notifyWorkersFailureMessage()
A message detailing the reason the Worker could not be notified.
|
static Class<? extends NotifyWorkersFailureStatus.Builder> |
serializableBuilderClass() |
NotifyWorkersFailureStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
workerId()
The ID of the Worker.
|
copypublic NotifyWorkersFailureCode notifyWorkersFailureCode()
Encoded value for the failure type.
If the service returns an enum value that is not available in the current SDK version,
notifyWorkersFailureCode will return NotifyWorkersFailureCode.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from notifyWorkersFailureCodeAsString().
NotifyWorkersFailureCodepublic String notifyWorkersFailureCodeAsString()
Encoded value for the failure type.
If the service returns an enum value that is not available in the current SDK version,
notifyWorkersFailureCode will return NotifyWorkersFailureCode.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from notifyWorkersFailureCodeAsString().
NotifyWorkersFailureCodepublic String notifyWorkersFailureMessage()
A message detailing the reason the Worker could not be notified.
public String workerId()
The ID of the Worker.
public NotifyWorkersFailureStatus.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<NotifyWorkersFailureStatus.Builder,NotifyWorkersFailureStatus>public static NotifyWorkersFailureStatus.Builder builder()
public static Class<? extends NotifyWorkersFailureStatus.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.