@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTokensRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTokensRequest() |
Modifier and Type | Method and Description |
---|---|
ListTokensRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Filter> |
getFilters()
Filters to scope the results.
|
Integer |
getMaxResults()
Maximum number of results to return in a single call.
|
String |
getNextToken()
Token for the next set of results.
|
List<String> |
getTokenIds()
Token IDs.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
Filters to scope the results.
|
void |
setMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
Token for the next set of results.
|
void |
setTokenIds(Collection<String> tokenIds)
Token IDs.
|
String |
toString()
Returns a string representation of this object.
|
ListTokensRequest |
withFilters(Collection<Filter> filters)
Filters to scope the results.
|
ListTokensRequest |
withFilters(Filter... filters)
Filters to scope the results.
|
ListTokensRequest |
withMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
|
ListTokensRequest |
withNextToken(String nextToken)
Token for the next set of results.
|
ListTokensRequest |
withTokenIds(Collection<String> tokenIds)
Token IDs.
|
ListTokensRequest |
withTokenIds(String... tokenIds)
Token IDs.
|
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 setTokenIds(Collection<String> tokenIds)
Token IDs.
tokenIds
- Token IDs.public ListTokensRequest withTokenIds(String... tokenIds)
Token IDs.
NOTE: This method appends the values to the existing list (if any). Use
setTokenIds(java.util.Collection)
or withTokenIds(java.util.Collection)
if you want to override
the existing values.
tokenIds
- Token IDs.public ListTokensRequest withTokenIds(Collection<String> tokenIds)
Token IDs.
tokenIds
- Token IDs.public List<Filter> getFilters()
Filters to scope the results. The following filter is supported:
LicenseArns
LicenseArns
public void setFilters(Collection<Filter> filters)
Filters to scope the results. The following filter is supported:
LicenseArns
filters
- Filters to scope the results. The following filter is supported:
LicenseArns
public ListTokensRequest withFilters(Filter... filters)
Filters to scope the results. The following filter is supported:
LicenseArns
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Filters to scope the results. The following filter is supported:
LicenseArns
public ListTokensRequest withFilters(Collection<Filter> filters)
Filters to scope the results. The following filter is supported:
LicenseArns
filters
- Filters to scope the results. The following filter is supported:
LicenseArns
public void setNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String getNextToken()
Token for the next set of results.
public ListTokensRequest withNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public void setMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
maxResults
- Maximum number of results to return in a single call.public Integer getMaxResults()
Maximum number of results to return in a single call.
public ListTokensRequest withMaxResults(Integer maxResults)
Maximum number of results to return in a single call.
maxResults
- Maximum number of results to return in a single call.public String toString()
toString
in class Object
Object.toString()
public ListTokensRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()