@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsageLimitsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListUsageLimitsRequest() |
Modifier and Type | Method and Description |
---|---|
ListUsageLimitsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
An optional parameter that specifies the maximum number of results to return.
|
String |
getNextToken()
If your initial
ListUsageLimits operation returns a nextToken , you can include the
returned nextToken in following ListUsageLimits operations, which returns results in
the next page. |
String |
getResourceArn()
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
|
String |
getUsageType()
The Amazon Redshift Serverless feature whose limits you want to see.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
void |
setNextToken(String nextToken)
If your initial
ListUsageLimits operation returns a nextToken , you can include the
returned nextToken in following ListUsageLimits operations, which returns results in
the next page. |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
|
void |
setUsageType(String usageType)
The Amazon Redshift Serverless feature whose limits you want to see.
|
String |
toString()
Returns a string representation of this object.
|
ListUsageLimitsRequest |
withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
ListUsageLimitsRequest |
withNextToken(String nextToken)
If your initial
ListUsageLimits operation returns a nextToken , you can include the
returned nextToken in following ListUsageLimits operations, which returns results in
the next page. |
ListUsageLimitsRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
|
ListUsageLimitsRequest |
withUsageType(String usageType)
The Amazon Redshift Serverless feature whose limits you want to see.
|
ListUsageLimitsRequest |
withUsageType(UsageLimitUsageType usageType)
The Amazon Redshift Serverless feature whose limits you want to see.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 100.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to get the next page of results. The default is 100.public Integer getMaxResults()
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 100.
nextToken
to get the next page of results. The default is 100.public ListUsageLimitsRequest withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 100.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to get the next page of results. The default is 100.public void setNextToken(String nextToken)
If your initial ListUsageLimits
operation returns a nextToken
, you can include the
returned nextToken
in following ListUsageLimits
operations, which returns results in
the next page.
nextToken
- If your initial ListUsageLimits
operation returns a nextToken
, you can include
the returned nextToken
in following ListUsageLimits
operations, which returns
results in the next page.public String getNextToken()
If your initial ListUsageLimits
operation returns a nextToken
, you can include the
returned nextToken
in following ListUsageLimits
operations, which returns results in
the next page.
ListUsageLimits
operation returns a nextToken
, you can include
the returned nextToken
in following ListUsageLimits
operations, which returns
results in the next page.public ListUsageLimitsRequest withNextToken(String nextToken)
If your initial ListUsageLimits
operation returns a nextToken
, you can include the
returned nextToken
in following ListUsageLimits
operations, which returns results in
the next page.
nextToken
- If your initial ListUsageLimits
operation returns a nextToken
, you can include
the returned nextToken
in following ListUsageLimits
operations, which returns
results in the next page.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
resourceArn
- The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.public String getResourceArn()
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
public ListUsageLimitsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
resourceArn
- The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.public void setUsageType(String usageType)
The Amazon Redshift Serverless feature whose limits you want to see.
usageType
- The Amazon Redshift Serverless feature whose limits you want to see.UsageLimitUsageType
public String getUsageType()
The Amazon Redshift Serverless feature whose limits you want to see.
UsageLimitUsageType
public ListUsageLimitsRequest withUsageType(String usageType)
The Amazon Redshift Serverless feature whose limits you want to see.
usageType
- The Amazon Redshift Serverless feature whose limits you want to see.UsageLimitUsageType
public ListUsageLimitsRequest withUsageType(UsageLimitUsageType usageType)
The Amazon Redshift Serverless feature whose limits you want to see.
usageType
- The Amazon Redshift Serverless feature whose limits you want to see.UsageLimitUsageType
public String toString()
toString
in class Object
Object.toString()
public ListUsageLimitsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()