Interface StackCreateBuilder

    • Method Detail

      • template

        StackCreateBuilder template​(String template)
        Sets the template in YAML/JSON format. If the template begins with a "{" then JSON is assumed
        Parameters:
        template - the template
        Returns:
        StackCreateBuilder
      • templateURL

        StackCreateBuilder templateURL​(String templateURL)
        Sets the template URL
        Parameters:
        templateURL - the template URL
        Returns:
        StackCreateBuilder
      • parameters

        StackCreateBuilder parameters​(Map<String,​String> parameters)
        Sets the parameters which are passed to the server. It might contain Information about flavor, image, etc.
        Parameters:
        parameters - Map of parameters. Key is name, value is the value of the parameters
        Returns:
        the modified StackCreateBuilder
      • timeoutMins

        StackCreateBuilder timeoutMins​(Long timeoutMins)
        Sets the stack creation timeout in minutes
        Parameters:
        timeoutMins - timeout in minutes
        Returns:
        the modified StackCreateBuilder
      • disableRollback

        StackCreateBuilder disableRollback​(boolean disableRollback)
        sets the boolean for whether or not rollback is enabled or not
        Parameters:
        disableRollback - boolean value for disabling rollback
        Returns:
        the modified StackCreateBuilder
      • environment

        StackCreateBuilder environment​(String environment)
        Sets the environment in YAML/JSON format.
        Parameters:
        environment - the environment
        Returns:
        StackCreateBuilder
      • environmentFromFile

        StackCreateBuilder environmentFromFile​(String envFile)
        Sets the environment in YAML/JSON format.
        Parameters:
        environment - file location
        Returns:
        StackCreateBuilder
      • templateFromFile

        StackCreateBuilder templateFromFile​(String tplFile)
        Sets the template in YAML/JSON format.
        Parameters:
        tplFile - file location
        Returns:
        StackCreateBuilder
      • tags

        StackCreateBuilder tags​(String tags)
        Set the tags for the stack, separated by a comma.
        Returns:
        StackCreateBuilder