Interface BonusPayment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BonusPayment.Builder,
,BonusPayment> SdkBuilder<BonusPayment.Builder,
,BonusPayment> SdkPojo
- Enclosing class:
BonusPayment
public static interface BonusPayment.Builder
extends SdkPojo, CopyableBuilder<BonusPayment.Builder,BonusPayment>
-
Method Summary
Modifier and TypeMethodDescriptionassignmentId
(String assignmentId) The ID of the assignment associated with this bonus payment.bonusAmount
(String bonusAmount) Sets the value of the BonusAmount property for this object.The date and time of when the bonus was granted.The Reason text given when the bonus was granted, if any.The ID of the Worker to whom the bonus was paid.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
workerId
The ID of the Worker to whom the bonus was paid.
- Parameters:
workerId
- The ID of the Worker to whom the bonus was paid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bonusAmount
Sets the value of the BonusAmount property for this object.- Parameters:
bonusAmount
- The new value for the BonusAmount property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentId
The ID of the assignment associated with this bonus payment.
- Parameters:
assignmentId
- The ID of the assignment associated with this bonus payment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
The Reason text given when the bonus was granted, if any.
- Parameters:
reason
- The Reason text given when the bonus was granted, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantTime
The date and time of when the bonus was granted.
- Parameters:
grantTime
- The date and time of when the bonus was granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-