@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAssignmentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAssignmentResult() |
Modifier and Type | Method and Description |
---|---|
GetAssignmentResult |
clone() |
boolean |
equals(Object obj) |
Assignment |
getAssignment()
The assignment.
|
HIT |
getHIT()
The HIT associated with this assignment.
|
int |
hashCode() |
void |
setAssignment(Assignment assignment)
The assignment.
|
void |
setHIT(HIT hIT)
The HIT associated with this assignment.
|
String |
toString()
Returns a string representation of this object.
|
GetAssignmentResult |
withAssignment(Assignment assignment)
The assignment.
|
GetAssignmentResult |
withHIT(HIT hIT)
The HIT associated with this assignment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAssignment(Assignment assignment)
The assignment. The response includes one Assignment element.
assignment
- The assignment. The response includes one Assignment element.public Assignment getAssignment()
The assignment. The response includes one Assignment element.
public GetAssignmentResult withAssignment(Assignment assignment)
The assignment. The response includes one Assignment element.
assignment
- The assignment. The response includes one Assignment element.public void setHIT(HIT hIT)
The HIT associated with this assignment. The response includes one HIT element.
hIT
- The HIT associated with this assignment. The response includes one HIT element.public HIT getHIT()
The HIT associated with this assignment. The response includes one HIT element.
public GetAssignmentResult withHIT(HIT hIT)
The HIT associated with this assignment. The response includes one HIT element.
hIT
- The HIT associated with this assignment. The response includes one HIT element.public String toString()
toString
in class Object
Object.toString()
public GetAssignmentResult clone()