Class DescribeAgentVersionsResult

    • Constructor Detail

      • DescribeAgentVersionsResult

        public DescribeAgentVersionsResult()
    • Method Detail

      • getAgentVersions

        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.

        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

        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.

        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

        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.

        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

        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.

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object