@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAgentVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAgentVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListAgentVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<AgentVersionSummary> |
getAgentVersionSummaries()
A list of objects, each of which contains information about a version of the agent.
|
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. |
int |
hashCode() |
void |
setAgentVersionSummaries(Collection<AgentVersionSummary> agentVersionSummaries)
A list of objects, each of which contains information about a version of the agent.
|
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. |
String |
toString()
Returns a string representation of this object.
|
ListAgentVersionsResult |
withAgentVersionSummaries(AgentVersionSummary... agentVersionSummaries)
A list of objects, each of which contains information about a version of the agent.
|
ListAgentVersionsResult |
withAgentVersionSummaries(Collection<AgentVersionSummary> agentVersionSummaries)
A list of objects, each of which contains information about a version of the agent.
|
ListAgentVersionsResult |
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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AgentVersionSummary> getAgentVersionSummaries()
A list of objects, each of which contains information about a version of the agent.
public void setAgentVersionSummaries(Collection<AgentVersionSummary> agentVersionSummaries)
A list of objects, each of which contains information about a version of the agent.
agentVersionSummaries
- A list of objects, each of which contains information about a version of the agent.public ListAgentVersionsResult withAgentVersionSummaries(AgentVersionSummary... agentVersionSummaries)
A list of objects, each of which contains information about a version of the agent.
NOTE: This method appends the values to the existing list (if any). Use
setAgentVersionSummaries(java.util.Collection)
or
withAgentVersionSummaries(java.util.Collection)
if you want to override the existing values.
agentVersionSummaries
- A list of objects, each of which contains information about a version of the agent.public ListAgentVersionsResult withAgentVersionSummaries(Collection<AgentVersionSummary> agentVersionSummaries)
A list of objects, each of which contains information about a version of the agent.
agentVersionSummaries
- A list of objects, each of which contains information about a version of the agent.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 ListAgentVersionsResult 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 String toString()
toString
in class Object
Object.toString()
public ListAgentVersionsResult clone()