@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSpendLimitsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeSpendLimitsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSpendLimitsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to be used for the next set of paginated results.
|
List<SpendLimit> |
getSpendLimits()
An array of SpendLimit objects that contain the details for the requested spend limits.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
void |
setSpendLimits(Collection<SpendLimit> spendLimits)
An array of SpendLimit objects that contain the details for the requested spend limits.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSpendLimitsResult |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
DescribeSpendLimitsResult |
withSpendLimits(Collection<SpendLimit> spendLimits)
An array of SpendLimit objects that contain the details for the requested spend limits.
|
DescribeSpendLimitsResult |
withSpendLimits(SpendLimit... spendLimits)
An array of SpendLimit objects that contain the details for the requested spend limits.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<SpendLimit> getSpendLimits()
An array of SpendLimit objects that contain the details for the requested spend limits.
public void setSpendLimits(Collection<SpendLimit> spendLimits)
An array of SpendLimit objects that contain the details for the requested spend limits.
spendLimits - An array of SpendLimit objects that contain the details for the requested spend limits.public DescribeSpendLimitsResult withSpendLimits(SpendLimit... spendLimits)
An array of SpendLimit objects that contain the details for the requested spend limits.
NOTE: This method appends the values to the existing list (if any). Use
setSpendLimits(java.util.Collection) or withSpendLimits(java.util.Collection) if you want to
override the existing values.
spendLimits - An array of SpendLimit objects that contain the details for the requested spend limits.public DescribeSpendLimitsResult withSpendLimits(Collection<SpendLimit> spendLimits)
An array of SpendLimit objects that contain the details for the requested spend limits.
spendLimits - An array of SpendLimit objects that contain the details for the requested spend limits.public void setNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken - The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String getNextToken()
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
public DescribeSpendLimitsResult withNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken - The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String toString()
toString in class ObjectObject.toString()public DescribeSpendLimitsResult clone()