Class StackConfigurationManager

    • Constructor Detail

      • StackConfigurationManager

        public StackConfigurationManager()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object