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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgentVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentVersionclone()booleanequals(Object obj)StackConfigurationManagergetConfigurationManager()The configuration manager.StringgetVersion()The agent version.inthashCode()voidsetConfigurationManager(StackConfigurationManager configurationManager)The configuration manager.voidsetVersion(String version)The agent version.StringtoString()Returns a string representation of this object; useful for testing and debugging.AgentVersionwithConfigurationManager(StackConfigurationManager configurationManager)The configuration manager.AgentVersionwithVersion(String version)The agent version.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AgentVersion clone()
-
-