Class DescribeAgentVersionsResult

java.lang.Object
com.amazonaws.services.opsworks.model.DescribeAgentVersionsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeAgentVersionsResult extends Object implements Serializable, Cloneable

Contains the response to a DescribeAgentVersions request.

See Also:
  • Constructor Details

    • DescribeAgentVersionsResult

      public DescribeAgentVersionsResult()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object