@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPromptsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPromptsResult() |
Modifier and Type | Method and Description |
---|---|
ListPromptsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<PromptSummary> |
getPromptSummaryList()
Information about the prompts.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setPromptSummaryList(Collection<PromptSummary> promptSummaryList)
Information about the prompts.
|
String |
toString()
Returns a string representation of this object.
|
ListPromptsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListPromptsResult |
withPromptSummaryList(Collection<PromptSummary> promptSummaryList)
Information about the prompts.
|
ListPromptsResult |
withPromptSummaryList(PromptSummary... promptSummaryList)
Information about the prompts.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PromptSummary> getPromptSummaryList()
Information about the prompts.
public void setPromptSummaryList(Collection<PromptSummary> promptSummaryList)
Information about the prompts.
promptSummaryList
- Information about the prompts.public ListPromptsResult withPromptSummaryList(PromptSummary... promptSummaryList)
Information about the prompts.
NOTE: This method appends the values to the existing list (if any). Use
setPromptSummaryList(java.util.Collection)
or withPromptSummaryList(java.util.Collection)
if
you want to override the existing values.
promptSummaryList
- Information about the prompts.public ListPromptsResult withPromptSummaryList(Collection<PromptSummary> promptSummaryList)
Information about the prompts.
promptSummaryList
- 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 ListPromptsResult 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 String toString()
toString
in class Object
Object.toString()
public ListPromptsResult clone()