@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBonusPaymentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListBonusPaymentsResult() |
Modifier and Type | Method and Description |
---|---|
ListBonusPaymentsResult |
clone() |
boolean |
equals(Object obj) |
List<BonusPayment> |
getBonusPayments()
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
|
String |
getNextToken() |
Integer |
getNumResults()
The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus
payments being returned by this call.
|
int |
hashCode() |
void |
setBonusPayments(Collection<BonusPayment> bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
|
void |
setNextToken(String nextToken) |
void |
setNumResults(Integer numResults)
The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus
payments being returned by this call.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListBonusPaymentsResult |
withBonusPayments(BonusPayment... bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
|
ListBonusPaymentsResult |
withBonusPayments(Collection<BonusPayment> bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
|
ListBonusPaymentsResult |
withNextToken(String nextToken) |
ListBonusPaymentsResult |
withNumResults(Integer numResults)
The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus
payments being returned by this call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNumResults(Integer numResults)
The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.
numResults
- The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus
payments being returned by this call.public Integer getNumResults()
The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.
public ListBonusPaymentsResult withNumResults(Integer numResults)
The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.
numResults
- The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus
payments being returned by this call.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListBonusPaymentsResult withNextToken(String nextToken)
nextToken
- public List<BonusPayment> getBonusPayments()
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
public void setBonusPayments(Collection<BonusPayment> bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
bonusPayments
- A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.public ListBonusPaymentsResult withBonusPayments(BonusPayment... bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
NOTE: This method appends the values to the existing list (if any). Use
setBonusPayments(java.util.Collection)
or withBonusPayments(java.util.Collection)
if you want
to override the existing values.
bonusPayments
- A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.public ListBonusPaymentsResult withBonusPayments(Collection<BonusPayment> bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
bonusPayments
- A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.public String toString()
toString
in class Object
Object.toString()
public ListBonusPaymentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.