@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BonusPayment extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a Bonus payment paid to a Worker.
Constructor and Description |
---|
BonusPayment() |
Modifier and Type | Method and Description |
---|---|
BonusPayment |
clone() |
boolean |
equals(Object obj) |
String |
getAssignmentId()
The ID of the assignment associated with this bonus payment.
|
String |
getBonusAmount() |
Date |
getGrantTime()
The date and time of when the bonus was granted.
|
String |
getReason()
The Reason text given when the bonus was granted, if any.
|
String |
getWorkerId()
The ID of the Worker to whom the bonus was paid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssignmentId(String assignmentId)
The ID of the assignment associated with this bonus payment.
|
void |
setBonusAmount(String bonusAmount) |
void |
setGrantTime(Date grantTime)
The date and time of when the bonus was granted.
|
void |
setReason(String reason)
The Reason text given when the bonus was granted, if any.
|
void |
setWorkerId(String workerId)
The ID of the Worker to whom the bonus was paid.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BonusPayment |
withAssignmentId(String assignmentId)
The ID of the assignment associated with this bonus payment.
|
BonusPayment |
withBonusAmount(String bonusAmount) |
BonusPayment |
withGrantTime(Date grantTime)
The date and time of when the bonus was granted.
|
BonusPayment |
withReason(String reason)
The Reason text given when the bonus was granted, if any.
|
BonusPayment |
withWorkerId(String workerId)
The ID of the Worker to whom the bonus was paid.
|
public void setWorkerId(String workerId)
The ID of the Worker to whom the bonus was paid.
workerId
- The ID of the Worker to whom the bonus was paid.public String getWorkerId()
The ID of the Worker to whom the bonus was paid.
public BonusPayment withWorkerId(String workerId)
The ID of the Worker to whom the bonus was paid.
workerId
- The ID of the Worker to whom the bonus was paid.public void setBonusAmount(String bonusAmount)
bonusAmount
- public String getBonusAmount()
public BonusPayment withBonusAmount(String bonusAmount)
bonusAmount
- public void setAssignmentId(String assignmentId)
The ID of the assignment associated with this bonus payment.
assignmentId
- The ID of the assignment associated with this bonus payment.public String getAssignmentId()
The ID of the assignment associated with this bonus payment.
public BonusPayment withAssignmentId(String assignmentId)
The ID of the assignment associated with this bonus payment.
assignmentId
- The ID of the assignment associated with this bonus payment.public void setReason(String reason)
The Reason text given when the bonus was granted, if any.
reason
- The Reason text given when the bonus was granted, if any.public String getReason()
The Reason text given when the bonus was granted, if any.
public BonusPayment withReason(String reason)
The Reason text given when the bonus was granted, if any.
reason
- The Reason text given when the bonus was granted, if any.public void setGrantTime(Date grantTime)
The date and time of when the bonus was granted.
grantTime
- The date and time of when the bonus was granted.public Date getGrantTime()
The date and time of when the bonus was granted.
public BonusPayment withGrantTime(Date grantTime)
The date and time of when the bonus was granted.
grantTime
- The date and time of when the bonus was granted.public String toString()
toString
in class Object
Object.toString()
public BonusPayment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.