@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAccountLimitsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAccountLimitsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAccountLimitsResult |
clone() |
boolean |
equals(Object obj) |
List<AccountLimit> |
getAccountLimits()
An array of AccountLimit objects that show the current spend limits.
|
String |
getNextToken()
The token to be used for the next set of paginated results.
|
int |
hashCode() |
void |
setAccountLimits(Collection<AccountLimit> accountLimits)
An array of AccountLimit objects that show the current spend limits.
|
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAccountLimitsResult |
withAccountLimits(AccountLimit... accountLimits)
An array of AccountLimit objects that show the current spend limits.
|
DescribeAccountLimitsResult |
withAccountLimits(Collection<AccountLimit> accountLimits)
An array of AccountLimit objects that show the current spend limits.
|
DescribeAccountLimitsResult |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccountLimit> getAccountLimits()
An array of AccountLimit objects that show the current spend limits.
public void setAccountLimits(Collection<AccountLimit> accountLimits)
An array of AccountLimit objects that show the current spend limits.
accountLimits
- An array of AccountLimit objects that show the current spend limits.public DescribeAccountLimitsResult withAccountLimits(AccountLimit... accountLimits)
An array of AccountLimit objects that show the current spend limits.
NOTE: This method appends the values to the existing list (if any). Use
setAccountLimits(java.util.Collection)
or withAccountLimits(java.util.Collection)
if you want
to override the existing values.
accountLimits
- An array of AccountLimit objects that show the current spend limits.public DescribeAccountLimitsResult withAccountLimits(Collection<AccountLimit> accountLimits)
An array of AccountLimit objects that show the current spend limits.
accountLimits
- An array of AccountLimit objects that show the current 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 DescribeAccountLimitsResult 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 Object
Object.toString()
public DescribeAccountLimitsResult clone()