@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAgentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
List Agent Response
| Constructor and Description |
|---|
ListAgentsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAgentsResult |
clone() |
boolean |
equals(Object obj) |
List<AgentSummary> |
getAgentSummaries() |
String |
getNextToken() |
int |
hashCode() |
void |
setAgentSummaries(Collection<AgentSummary> agentSummaries) |
void |
setNextToken(String nextToken) |
String |
toString()
Returns a string representation of this object.
|
ListAgentsResult |
withAgentSummaries(AgentSummary... agentSummaries)
NOTE: This method appends the values to the existing list (if any).
|
ListAgentsResult |
withAgentSummaries(Collection<AgentSummary> agentSummaries) |
ListAgentsResult |
withNextToken(String nextToken) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<AgentSummary> getAgentSummaries()
public void setAgentSummaries(Collection<AgentSummary> agentSummaries)
agentSummaries - public ListAgentsResult withAgentSummaries(AgentSummary... agentSummaries)
NOTE: This method appends the values to the existing list (if any). Use
setAgentSummaries(java.util.Collection) or withAgentSummaries(java.util.Collection) if you want
to override the existing values.
agentSummaries - public ListAgentsResult withAgentSummaries(Collection<AgentSummary> agentSummaries)
agentSummaries - public void setNextToken(String nextToken)
nextToken - public String getNextToken()
public ListAgentsResult withNextToken(String nextToken)
nextToken - public String toString()
toString in class ObjectObject.toString()public ListAgentsResult clone()
Copyright © 2024. All rights reserved.