@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceQuotasResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServiceQuotasResult() |
Modifier and Type | Method and Description |
---|---|
ListServiceQuotasResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ServiceQuota> |
getQuotas()
Information about the quotas.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setQuotas(Collection<ServiceQuota> quotas)
Information about the quotas.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceQuotasResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListServiceQuotasResult |
withQuotas(Collection<ServiceQuota> quotas)
Information about the quotas.
|
ListServiceQuotasResult |
withQuotas(ServiceQuota... quotas)
Information about the quotas.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
public ListServiceQuotasResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public List<ServiceQuota> getQuotas()
Information about the quotas.
public void setQuotas(Collection<ServiceQuota> quotas)
Information about the quotas.
quotas
- Information about the quotas.public ListServiceQuotasResult withQuotas(ServiceQuota... quotas)
Information about the quotas.
NOTE: This method appends the values to the existing list (if any). Use
setQuotas(java.util.Collection)
or withQuotas(java.util.Collection)
if you want to override the
existing values.
quotas
- Information about the quotas.public ListServiceQuotasResult withQuotas(Collection<ServiceQuota> quotas)
Information about the quotas.
quotas
- Information about the quotas.public String toString()
toString
in class Object
Object.toString()
public ListServiceQuotasResult clone()