@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
workerId()
The ID of the Worker to whom the bonus was paid.
|
copy
public String workerId()
The ID of the Worker to whom the bonus was paid.
public String bonusAmount()
public String assignmentId()
The ID of the assignment associated with this bonus payment.
public String reason()
The Reason text given when the bonus was granted, if any.
public Instant grantTime()
The date and time of when the bonus was granted.
public BonusPayment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BonusPayment.Builder,BonusPayment>
public static BonusPayment.Builder builder()
public static Class<? extends BonusPayment.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.