public class DescribeAgentVersionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribeAgentVersions
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AgentVersion> |
agentVersions
The agent versions for the specified stack or configuration manager.
|
Constructor and Description |
---|
DescribeAgentVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentVersionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AgentVersion> |
getAgentVersions()
The agent versions for the specified stack or configuration manager.
|
int |
hashCode() |
void |
setAgentVersions(java.util.Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager.
|
java.lang.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(java.util.Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager.
|
private SdkInternalList<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.
public java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAgentVersionsResult clone()
clone
in class java.lang.Object