@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RejectAssignmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RejectAssignmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
RejectAssignmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssignmentId()
The ID of the assignment.
|
String |
getRequesterFeedback()
A message for the Worker, which the Worker can see in the Status section of the web site.
|
int |
hashCode() |
void |
setAssignmentId(String assignmentId)
The ID of the assignment.
|
void |
setRequesterFeedback(String requesterFeedback)
A message for the Worker, which the Worker can see in the Status section of the web site.
|
String |
toString()
Returns a string representation of this object.
|
RejectAssignmentRequest |
withAssignmentId(String assignmentId)
The ID of the assignment.
|
RejectAssignmentRequest |
withRequesterFeedback(String requesterFeedback)
A message for the Worker, which the Worker can see in the Status section of the web site.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAssignmentId(String assignmentId)
The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
assignmentId - The ID of the assignment. The assignment must correspond to a HIT created by the Requester.public String getAssignmentId()
The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
public RejectAssignmentRequest withAssignmentId(String assignmentId)
The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
assignmentId - The ID of the assignment. The assignment must correspond to a HIT created by the Requester.public void setRequesterFeedback(String requesterFeedback)
A message for the Worker, which the Worker can see in the Status section of the web site.
requesterFeedback - A message for the Worker, which the Worker can see in the Status section of the web site.public String getRequesterFeedback()
A message for the Worker, which the Worker can see in the Status section of the web site.
public RejectAssignmentRequest withRequesterFeedback(String requesterFeedback)
A message for the Worker, which the Worker can see in the Status section of the web site.
requesterFeedback - A message for the Worker, which the Worker can see in the Status section of the web site.public String toString()
toString in class ObjectObject.toString()public RejectAssignmentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()