@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApproveAssignmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ApproveAssignmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
ApproveAssignmentRequest |
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.
|
Boolean |
getOverrideRejection()
A flag indicating that an assignment should be approved even if it was previously rejected.
|
String |
getRequesterFeedback()
A message for the Worker, which the Worker can see in the Status section of the web site.
|
int |
hashCode() |
Boolean |
isOverrideRejection()
A flag indicating that an assignment should be approved even if it was previously rejected.
|
void |
setAssignmentId(String assignmentId)
The ID of the assignment.
|
void |
setOverrideRejection(Boolean overrideRejection)
A flag indicating that an assignment should be approved even if it was previously rejected.
|
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.
|
ApproveAssignmentRequest |
withAssignmentId(String assignmentId)
The ID of the assignment.
|
ApproveAssignmentRequest |
withOverrideRejection(Boolean overrideRejection)
A flag indicating that an assignment should be approved even if it was previously rejected.
|
ApproveAssignmentRequest |
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 ApproveAssignmentRequest 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 ApproveAssignmentRequest 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 void setOverrideRejection(Boolean overrideRejection)
A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False.
overrideRejection - A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False.public Boolean getOverrideRejection()
A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False.
False.public ApproveAssignmentRequest withOverrideRejection(Boolean overrideRejection)
A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False.
overrideRejection - A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False.public Boolean isOverrideRejection()
A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False.
False.public String toString()
toString in class ObjectObject.toString()public ApproveAssignmentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()
off sitewide
June sale — 45% off at checkout, applied automatically. Valid for 60 minutes. One per customer.
Offer ends in