@Generated(value="software.amazon.awssdk:codegen") public final class BonusPayment extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
reason()
The Reason text given when the bonus was granted, if any.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.