Class StackConfigurationManager
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.StackConfigurationManager
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StackConfigurationManager extends Object implements Serializable, Cloneable
Describes the configuration manager.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StackConfigurationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackConfigurationManager
clone()
boolean
equals(Object obj)
String
getName()
The name.String
getVersion()
The Chef version.int
hashCode()
void
setName(String name)
The name.void
setVersion(String version)
The Chef version.String
toString()
Returns a string representation of this object; useful for testing and debugging.StackConfigurationManager
withName(String name)
The name.StackConfigurationManager
withVersion(String version)
The Chef version.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name. This parameter must be set to "Chef".
- Parameters:
name
- The name. This parameter must be set to "Chef".
-
getName
public String getName()
The name. This parameter must be set to "Chef".
- Returns:
- The name. This parameter must be set to "Chef".
-
withName
public StackConfigurationManager withName(String name)
The name. This parameter must be set to "Chef".
- Parameters:
name
- The name. This parameter must be set to "Chef".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(String version)
The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4.
- Parameters:
version
- The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4.
-
getVersion
public String getVersion()
The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4.
- Returns:
- The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4.
-
withVersion
public StackConfigurationManager withVersion(String version)
The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4.
- Parameters:
version
- The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4.- 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 StackConfigurationManager clone()
-
-