@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.
|
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.NotifyWorkersFailureCode
public String getNotifyWorkersFailureCode()
Encoded value for the failure type.
NotifyWorkersFailureCode
public NotifyWorkersFailureStatus withNotifyWorkersFailureCode(String notifyWorkersFailureCode)
Encoded value for the failure type.
notifyWorkersFailureCode
- Encoded value for the failure type.NotifyWorkersFailureCode
public void setNotifyWorkersFailureCode(NotifyWorkersFailureCode notifyWorkersFailureCode)
Encoded value for the failure type.
notifyWorkersFailureCode
- Encoded value for the failure type.NotifyWorkersFailureCode
public NotifyWorkersFailureStatus withNotifyWorkersFailureCode(NotifyWorkersFailureCode notifyWorkersFailureCode)
Encoded value for the failure type.
notifyWorkersFailureCode
- Encoded value for the failure type.NotifyWorkersFailureCode
public 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 Object
Object.toString()
public NotifyWorkersFailureStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.