@Generated(value="software.amazon.awssdk:codegen") public final class BonusPayment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BonusPayment.Builder,BonusPayment>
An object representing a Bonus payment paid to a Worker.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BonusPayment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assignmentId()
The ID of the assignment associated with this bonus payment.
|
String |
bonusAmount()
Returns the value of the BonusAmount property for this object.
|
static BonusPayment.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Instant |
grantTime()
The date and time of when the bonus was granted.
|
int |
hashCode() |
String |
reason()
The Reason text given when the bonus was granted, if any.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BonusPayment.Builder> |
serializableBuilderClass() |
BonusPayment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workerId()
The ID of the Worker to whom the bonus was paid.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workerId()
The ID of the Worker to whom the bonus was paid.
public final String bonusAmount()
public final String assignmentId()
The ID of the assignment associated with this bonus payment.
public final String reason()
The Reason text given when the bonus was granted, if any.
public final Instant grantTime()
The date and time of when the bonus was granted.
public BonusPayment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BonusPayment.Builder,BonusPayment>public static BonusPayment.Builder builder()
public static Class<? extends BonusPayment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.