@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAgentVersionsResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AgentVersion> getAgentVersions()
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 void setAgentVersions(Collection<AgentVersion> 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.
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)
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.
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.
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)
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.
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()