Class AgentVersion

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

public class AgentVersion extends Object implements Serializable, Cloneable

Describes an agent version.

See Also:
  • Constructor Details

    • AgentVersion

      public AgentVersion()
  • Method Details

    • setVersion

      public void setVersion(String version)

      The agent version.

      Parameters:
      version - The agent version.
    • getVersion

      public String getVersion()

      The agent version.

      Returns:
      The agent version.
    • withVersion

      public AgentVersion withVersion(String version)

      The agent version.

      Parameters:
      version - The agent version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setConfigurationManager

      public void setConfigurationManager(StackConfigurationManager configurationManager)

      The configuration manager.

      Parameters:
      configurationManager - The configuration manager.
    • getConfigurationManager

      public StackConfigurationManager getConfigurationManager()

      The configuration manager.

      Returns:
      The configuration manager.
    • withConfigurationManager

      public AgentVersion withConfigurationManager(StackConfigurationManager configurationManager)

      The configuration manager.

      Parameters:
      configurationManager - The configuration manager.
      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

      public AgentVersion clone()
      Overrides:
      clone in class Object