Class DescribeAgentVersionsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a DescribeAgentVersions
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAgentVersions
(AgentVersion... agentVersions) The agent versions for the specified stack or configuration manager.withAgentVersions
(Collection<AgentVersion> agentVersions) The agent versions for the specified stack or configuration manager.
-
Constructor Details
-
DescribeAgentVersionsResult
public DescribeAgentVersionsResult()
-
-
Method Details
-
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.
- Returns:
- 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.
-
setAgentVersions
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.
- Parameters:
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.
-
withAgentVersions
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)
orwithAgentVersions(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAgentVersions
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.
- Parameters:
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.- 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
-