@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchPromptsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchPromptsResult() |
Modifier and Type | Method and Description |
---|---|
SearchPromptsResult |
clone() |
boolean |
equals(Object obj) |
Long |
getApproximateTotalCount()
The total number of quick connects which matched your search query.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<Prompt> |
getPrompts()
Information about the prompts.
|
int |
hashCode() |
void |
setApproximateTotalCount(Long approximateTotalCount)
The total number of quick connects which matched your search query.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setPrompts(Collection<Prompt> prompts)
Information about the prompts.
|
String |
toString()
Returns a string representation of this object.
|
SearchPromptsResult |
withApproximateTotalCount(Long approximateTotalCount)
The total number of quick connects which matched your search query.
|
SearchPromptsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
SearchPromptsResult |
withPrompts(Collection<Prompt> prompts)
Information about the prompts.
|
SearchPromptsResult |
withPrompts(Prompt... prompts)
Information about the prompts.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Prompt> getPrompts()
Information about the prompts.
public void setPrompts(Collection<Prompt> prompts)
Information about the prompts.
prompts
- Information about the prompts.public SearchPromptsResult withPrompts(Prompt... prompts)
Information about the prompts.
NOTE: This method appends the values to the existing list (if any). Use
setPrompts(java.util.Collection)
or withPrompts(java.util.Collection)
if you want to override
the existing values.
prompts
- Information about the prompts.public SearchPromptsResult withPrompts(Collection<Prompt> prompts)
Information about the prompts.
prompts
- Information about the prompts.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public SearchPromptsResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public void setApproximateTotalCount(Long approximateTotalCount)
The total number of quick connects which matched your search query.
approximateTotalCount
- The total number of quick connects which matched your search query.public Long getApproximateTotalCount()
The total number of quick connects which matched your search query.
public SearchPromptsResult withApproximateTotalCount(Long approximateTotalCount)
The total number of quick connects which matched your search query.
approximateTotalCount
- The total number of quick connects which matched your search query.public String toString()
toString
in class Object
Object.toString()
public SearchPromptsResult clone()