@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotifyWorkersFailureStatus extends Object implements Serializable, Cloneable, StructuredPojo
When MTurk encounters an issue with notifying the Workers you specified, it returns back this object with failure details.
| Constructor and Description |
|---|
NotifyWorkersFailureStatus() |
| Modifier and Type | Method and Description |
|---|---|
NotifyWorkersFailureStatus |
clone() |
boolean |
equals(Object obj) |
String |
getNotifyWorkersFailureCode()
Encoded value for the failure type.
|
String |
getNotifyWorkersFailureMessage()
A message detailing the reason the Worker could not be notified.
|
String |
getWorkerId()
The ID of the Worker.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNotifyWorkersFailureCode(NotifyWorkersFailureCode notifyWorkersFailureCode)
Encoded value for the failure type.
|
void |
setNotifyWorkersFailureCode(String notifyWorkersFailureCode)
Encoded value for the failure type.
|
void |
setNotifyWorkersFailureMessage(String notifyWorkersFailureMessage)
A message detailing the reason the Worker could not be notified.
|
void |
setWorkerId(String workerId)
The ID of the Worker.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NotifyWorkersFailureStatus |
withNotifyWorkersFailureCode(NotifyWorkersFailureCode notifyWorkersFailureCode)
Encoded value for the failure type.
|
NotifyWorkersFailureStatus |
withNotifyWorkersFailureCode(String notifyWorkersFailureCode)
Encoded value for the failure type.
|
NotifyWorkersFailureStatus |
withNotifyWorkersFailureMessage(String notifyWorkersFailureMessage)
A message detailing the reason the Worker could not be notified.
|
NotifyWorkersFailureStatus |
withWorkerId(String workerId)
The ID of the Worker.
|
public void setNotifyWorkersFailureCode(String notifyWorkersFailureCode)
Encoded value for the failure type.
notifyWorkersFailureCode - Encoded value for the failure type.NotifyWorkersFailureCodepublic String getNotifyWorkersFailureCode()
Encoded value for the failure type.
NotifyWorkersFailureCodepublic NotifyWorkersFailureStatus withNotifyWorkersFailureCode(String notifyWorkersFailureCode)
Encoded value for the failure type.
notifyWorkersFailureCode - Encoded value for the failure type.NotifyWorkersFailureCodepublic void setNotifyWorkersFailureCode(NotifyWorkersFailureCode notifyWorkersFailureCode)
Encoded value for the failure type.
notifyWorkersFailureCode - Encoded value for the failure type.NotifyWorkersFailureCodepublic NotifyWorkersFailureStatus withNotifyWorkersFailureCode(NotifyWorkersFailureCode notifyWorkersFailureCode)
Encoded value for the failure type.
notifyWorkersFailureCode - Encoded value for the failure type.NotifyWorkersFailureCodepublic void setNotifyWorkersFailureMessage(String notifyWorkersFailureMessage)
A message detailing the reason the Worker could not be notified.
notifyWorkersFailureMessage - A message detailing the reason the Worker could not be notified.public String getNotifyWorkersFailureMessage()
A message detailing the reason the Worker could not be notified.
public NotifyWorkersFailureStatus withNotifyWorkersFailureMessage(String notifyWorkersFailureMessage)
A message detailing the reason the Worker could not be notified.
notifyWorkersFailureMessage - A message detailing the reason the Worker could not be notified.public void setWorkerId(String workerId)
The ID of the Worker.
workerId - The ID of the Worker.public String getWorkerId()
The ID of the Worker.
public NotifyWorkersFailureStatus withWorkerId(String workerId)
The ID of the Worker.
workerId - The ID of the Worker.public String toString()
toString in class ObjectObject.toString()public NotifyWorkersFailureStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.