Class PreviewAgentsResult
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe resulting list of agents.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.inthashCode()voidsetAgentPreviews(Collection<AgentPreview> agentPreviews) The resulting list of agents.voidsetNextToken(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.toString()Returns a string representation of this object; useful for testing and debugging.withAgentPreviews(AgentPreview... agentPreviews) The resulting list of agents.withAgentPreviews(Collection<AgentPreview> agentPreviews) The resulting list of agents.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.
-
Constructor Details
-
PreviewAgentsResult
public PreviewAgentsResult()
-
-
Method Details
-
getAgentPreviews
The resulting list of agents.
- Returns:
- The resulting list of agents.
-
setAgentPreviews
The resulting list of agents.
- Parameters:
agentPreviews- The resulting list of agents.
-
withAgentPreviews
The resulting list of agents.
NOTE: This method appends the values to the existing list (if any). Use
setAgentPreviews(java.util.Collection)orwithAgentPreviews(java.util.Collection)if you want to override the existing values.- Parameters:
agentPreviews- The resulting list of agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAgentPreviews
The resulting list of agents.
- Parameters:
agentPreviews- The resulting list of agents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-