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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BonusPayment.BuilderassignmentId(String assignmentId)The ID of the assignment associated with this bonus payment.BonusPayment.BuilderbonusAmount(String bonusAmount)Sets the value of the BonusAmount property for this object.BonusPayment.BuildergrantTime(Instant grantTime)The date and time of when the bonus was granted.BonusPayment.Builderreason(String reason)The Reason text given when the bonus was granted, if any.BonusPayment.BuilderworkerId(String workerId)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
workerId
BonusPayment.Builder workerId(String 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
BonusPayment.Builder bonusAmount(String 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
BonusPayment.Builder assignmentId(String 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
BonusPayment.Builder reason(String 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
BonusPayment.Builder grantTime(Instant 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.
-
-