org.openstack4j.model.heat.BaseStackCreateUpdate Maven / Gradle / Ivy
package org.openstack4j.model.heat;
import java.util.Map;
import org.openstack4j.model.ModelEntity;
/**
* Base interface for Stack Creation or Update based API Services
*
* @author Jeremy Unruh
*/
public interface BaseStackCreateUpdate extends ModelEntity {
// Future versions: Replace with Template-Object
/**
* Returns the Heat template if it was stored in JSON format or YAML format
*
* @return the JSON or YAML formatted template out of which the stack is to be
* created. Returns null
if no JSON formatted template has been set.
*/
String getTemplate();
/**
* Returns the parameters which are used for creation of the stack
*
* @return Map of parameters. This map is null
if no
* parameter has been set. Returns empty if no parameter has been
* set.
*/
Map getParameters();
}