@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStoredQueriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListStoredQueriesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListStoredQueriesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. |
List<StoredQueryMetadata> |
getStoredQueryMetadata()
A list of
StoredQueryMetadata objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. |
void |
setStoredQueryMetadata(Collection<StoredQueryMetadata> storedQueryMetadata)
A list of
StoredQueryMetadata objects. |
String |
toString()
Returns a string representation of this object.
|
ListStoredQueriesResult |
withNextToken(String nextToken)
If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. |
ListStoredQueriesResult |
withStoredQueryMetadata(Collection<StoredQueryMetadata> storedQueryMetadata)
A list of
StoredQueryMetadata objects. |
ListStoredQueriesResult |
withStoredQueryMetadata(StoredQueryMetadata... storedQueryMetadata)
A list of
StoredQueryMetadata objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<StoredQueryMetadata> getStoredQueryMetadata()
A list of StoredQueryMetadata objects.
StoredQueryMetadata objects.public void setStoredQueryMetadata(Collection<StoredQueryMetadata> storedQueryMetadata)
A list of StoredQueryMetadata objects.
storedQueryMetadata - A list of StoredQueryMetadata objects.public ListStoredQueriesResult withStoredQueryMetadata(StoredQueryMetadata... storedQueryMetadata)
A list of StoredQueryMetadata objects.
NOTE: This method appends the values to the existing list (if any). Use
setStoredQueryMetadata(java.util.Collection) or withStoredQueryMetadata(java.util.Collection)
if you want to override the existing values.
storedQueryMetadata - A list of StoredQueryMetadata objects.public ListStoredQueriesResult withStoredQueryMetadata(Collection<StoredQueryMetadata> storedQueryMetadata)
A list of StoredQueryMetadata objects.
storedQueryMetadata - A list of StoredQueryMetadata objects.public void setNextToken(String nextToken)
If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. To retrieve the next set of results, call this action
again and assign that token to the request object's NextToken parameter. If there are no remaining
results, the previous response object's NextToken parameter is set to null.
nextToken - If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. To retrieve the next set of results, call this
action again and assign that token to the request object's NextToken parameter. If there are
no remaining results, the previous response object's NextToken parameter is set to
null.public String getNextToken()
If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. To retrieve the next set of results, call this action
again and assign that token to the request object's NextToken parameter. If there are no remaining
results, the previous response object's NextToken parameter is set to null.
NextToken parameter value is set to a token. To retrieve the next set of results, call this
action again and assign that token to the request object's NextToken parameter. If there are
no remaining results, the previous response object's NextToken parameter is set to
null.public ListStoredQueriesResult withNextToken(String nextToken)
If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. To retrieve the next set of results, call this action
again and assign that token to the request object's NextToken parameter. If there are no remaining
results, the previous response object's NextToken parameter is set to null.
nextToken - If the previous paginated request didn't return all of the remaining results, the response object's
NextToken parameter value is set to a token. To retrieve the next set of results, call this
action again and assign that token to the request object's NextToken parameter. If there are
no remaining results, the previous response object's NextToken parameter is set to
null.public String toString()
toString in class ObjectObject.toString()public ListStoredQueriesResult clone()