public class DescribeAgentVersionsResult extends Object implements Serializable, Cloneable
Contains the response to a DescribeAgentVersions
request.
Constructor and Description |
---|
DescribeAgentVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<AgentVersion> |
getAgentVersions()
The agent versions for the specified stack or configuration manager.
|
int |
hashCode() |
void |
setAgentVersions(Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAgentVersionsResult |
withAgentVersions(AgentVersion... agentVersions)
The agent versions for the specified stack or configuration manager.
|
DescribeAgentVersionsResult |
withAgentVersions(Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager.
|
public List<AgentVersion> getAgentVersions()
public void setAgentVersions(Collection<AgentVersion> agentVersions)
agentVersions
- The agent versions for the specified stack or configuration manager.
Note that this value is the complete version number, not the
abbreviated number used by the console.public DescribeAgentVersionsResult withAgentVersions(AgentVersion... agentVersions)
NOTE: This method appends the values to the existing list (if
any). Use setAgentVersions(java.util.Collection)
or withAgentVersions(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
agentVersions
- The agent versions for the specified stack or configuration manager.
Note that this value is the complete version number, not the
abbreviated number used by the console.public DescribeAgentVersionsResult withAgentVersions(Collection<AgentVersion> agentVersions)
Returns a reference to this object so that method calls can be chained together.
agentVersions
- The agent versions for the specified stack or configuration manager.
Note that this value is the complete version number, not the
abbreviated number used by the console.public String toString()
toString
in class Object
Object.toString()
public DescribeAgentVersionsResult clone()
Copyright © 2015. All rights reserved.