org.openstack4j.model.heat.AdoptStackData Maven / Gradle / Ivy
package org.openstack4j.model.heat;
import java.util.Map;
import org.openstack4j.model.ModelEntity;
/**
* This interface describes adopt_stack_data
element. It is used
* for stack adoption and as a return value for stack abandoning. All getters
* map to the possible return values of
* Delete /v1/{tenant_id}/stacks/{stack_name}/{stack_id}/abandon
*
* @see https://developer.openstack.org/api-ref/orchestration/v1
*
* @author Ales Kemr
*/
public interface AdoptStackData extends ModelEntity {
/**
* Returns stack action, e.g. CREATE
*
* @return stack action
*/
String getAction();
/**
* Returns the id of the stack
*
* @return the id of the stack
*/
String getId();
/**
* Returns the name of the stack
*
* @return the name of the stack
*/
String getName();
/**
* Returns the status of the stack
*
* @return the status of the stack
*/
String getStatus();
/**
* Returns stack template as a map
*
* @return stack template as a map
*/
Map getTemplate();
/**
* Returns map of existing resources, to be adopted into the stack
*
* @return Map of existing resources to be adopted into the stack
*/
Map> getResources();
}