@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 the total number of results is greater than the
maxResults value provided in the request, use
this token when making another request in the nextToken field to return the next batch of results. |
List<PromptSummary> |
getPromptSummaries()
A list, each member of which contains information about a prompt using Prompt management.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the total number of results is greater than the
maxResults value provided in the request, use
this token when making another request in the nextToken field to return the next batch of results. |
void |
setPromptSummaries(Collection<PromptSummary> promptSummaries)
A list, each member of which contains information about a prompt using Prompt management.
|
String |
toString()
Returns a string representation of this object.
|
ListPromptsResult |
withNextToken(String nextToken)
If the total number of results is greater than the
maxResults value provided in the request, use
this token when making another request in the nextToken field to return the next batch of results. |
ListPromptsResult |
withPromptSummaries(Collection<PromptSummary> promptSummaries)
A list, each member of which contains information about a prompt using Prompt management.
|
ListPromptsResult |
withPromptSummaries(PromptSummary... promptSummaries)
A list, each member of which contains information about a prompt using Prompt management.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If the total number of results is greater than the maxResults
value provided in the request, use
this token when making another request in the nextToken
field to return the next batch of results.
nextToken
- If the total number of results is greater than the maxResults
value provided in the request,
use this token when making another request in the nextToken
field to return the next batch of
results.public String getNextToken()
If the total number of results is greater than the maxResults
value provided in the request, use
this token when making another request in the nextToken
field to return the next batch of results.
maxResults
value provided in the request,
use this token when making another request in the nextToken
field to return the next batch
of results.public ListPromptsResult withNextToken(String nextToken)
If the total number of results is greater than the maxResults
value provided in the request, use
this token when making another request in the nextToken
field to return the next batch of results.
nextToken
- If the total number of results is greater than the maxResults
value provided in the request,
use this token when making another request in the nextToken
field to return the next batch of
results.public List<PromptSummary> getPromptSummaries()
A list, each member of which contains information about a prompt using Prompt management.
public void setPromptSummaries(Collection<PromptSummary> promptSummaries)
A list, each member of which contains information about a prompt using Prompt management.
promptSummaries
- A list, each member of which contains information about a prompt using Prompt management.public ListPromptsResult withPromptSummaries(PromptSummary... promptSummaries)
A list, each member of which contains information about a prompt using Prompt management.
NOTE: This method appends the values to the existing list (if any). Use
setPromptSummaries(java.util.Collection)
or withPromptSummaries(java.util.Collection)
if you
want to override the existing values.
promptSummaries
- A list, each member of which contains information about a prompt using Prompt management.public ListPromptsResult withPromptSummaries(Collection<PromptSummary> promptSummaries)
A list, each member of which contains information about a prompt using Prompt management.
promptSummaries
- A list, each member of which contains information about a prompt using Prompt management.public String toString()
toString
in class Object
Object.toString()
public ListPromptsResult clone()