@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBudgetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Response of DescribeBudgets
Constructor and Description |
---|
DescribeBudgetsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBudgetsResult |
clone() |
boolean |
equals(Object obj) |
List<Budget> |
getBudgets()
A list of budgets.
|
String |
getNextToken()
The pagination token in the service response that indicates the next set of results that you can retrieve.
|
int |
hashCode() |
void |
setBudgets(Collection<Budget> budgets)
A list of budgets.
|
void |
setNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
|
String |
toString()
Returns a string representation of this object.
|
DescribeBudgetsResult |
withBudgets(Budget... budgets)
A list of budgets.
|
DescribeBudgetsResult |
withBudgets(Collection<Budget> budgets)
A list of budgets.
|
DescribeBudgetsResult |
withNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBudgets(Collection<Budget> budgets)
A list of budgets.
budgets
- A list of budgets.public DescribeBudgetsResult withBudgets(Budget... budgets)
A list of budgets.
NOTE: This method appends the values to the existing list (if any). Use
setBudgets(java.util.Collection)
or withBudgets(java.util.Collection)
if you want to override
the existing values.
budgets
- A list of budgets.public DescribeBudgetsResult withBudgets(Collection<Budget> budgets)
A list of budgets.
budgets
- A list of budgets.public void setNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
nextToken
- The pagination token in the service response that indicates the next set of results that you can retrieve.public String getNextToken()
The pagination token in the service response that indicates the next set of results that you can retrieve.
public DescribeBudgetsResult withNextToken(String nextToken)
The pagination token in the service response that indicates the next set of results that you can retrieve.
nextToken
- The pagination token in the service response that indicates the next set of results that you can retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeBudgetsResult clone()