@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PreviewAgentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PreviewAgentsResult() |
Modifier and Type | Method and Description |
---|---|
PreviewAgentsResult |
clone() |
boolean |
equals(Object obj) |
List<AgentPreview> |
getAgentPreviews()
The resulting list of agents.
|
String |
getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
int |
hashCode() |
void |
setAgentPreviews(Collection<AgentPreview> agentPreviews)
The resulting list of agents.
|
void |
setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PreviewAgentsResult |
withAgentPreviews(AgentPreview... agentPreviews)
The resulting list of agents.
|
PreviewAgentsResult |
withAgentPreviews(Collection<AgentPreview> agentPreviews)
The resulting list of agents.
|
PreviewAgentsResult |
withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AgentPreview> getAgentPreviews()
The resulting list of agents.
public void setAgentPreviews(Collection<AgentPreview> agentPreviews)
The resulting list of agents.
agentPreviews
- The resulting list of agents.public PreviewAgentsResult withAgentPreviews(AgentPreview... agentPreviews)
The resulting list of agents.
NOTE: This method appends the values to the existing list (if any). Use
setAgentPreviews(java.util.Collection)
or withAgentPreviews(java.util.Collection)
if you want
to override the existing values.
agentPreviews
- The resulting list of agents.public PreviewAgentsResult withAgentPreviews(Collection<AgentPreview> agentPreviews)
The resulting list of agents.
agentPreviews
- The resulting list of agents.public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination
request. If there is no more data to be listed, this parameter is set to null.public String getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public PreviewAgentsResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination
request. If there is no more data to be listed, this parameter is set to null.public String toString()
toString
in class Object
Object.toString()
public PreviewAgentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.