public class StackConfigurationManager
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the configuration manager.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name.
|
private java.lang.String |
version
The Chef version.
|
Constructor and Description |
---|
StackConfigurationManager() |
Modifier and Type | Method and Description |
---|---|
StackConfigurationManager |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name.
|
java.lang.String |
getVersion()
The Chef version.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name.
|
void |
setVersion(java.lang.String version)
The Chef version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackConfigurationManager |
withName(java.lang.String name)
The name.
|
StackConfigurationManager |
withVersion(java.lang.String version)
The Chef version.
|
private java.lang.String name
The name. This parameter must be set to "Chef".
private java.lang.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.
public void setName(java.lang.String name)
The name. This parameter must be set to "Chef".
name
- The name. This parameter must be set to "Chef".public java.lang.String getName()
The name. This parameter must be set to "Chef".
public StackConfigurationManager withName(java.lang.String name)
The name. This parameter must be set to "Chef".
name
- The name. This parameter must be set to "Chef".public void setVersion(java.lang.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.
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.public java.lang.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.
public StackConfigurationManager withVersion(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StackConfigurationManager clone()
clone
in class java.lang.Object