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 AgentVersion
clone()
boolean
equals(Object obj)
StackConfigurationManager
getConfigurationManager()
The configuration manager.String
getVersion()
The agent version.int
hashCode()
void
setConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.void
setVersion(String version)
The agent version.String
toString()
Returns a string representation of this object; useful for testing and debugging.AgentVersion
withConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.AgentVersion
withVersion(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AgentVersion clone()
-
-