Class HeatAdoptStackData
- java.lang.Object
-
- org.openstack4j.openstack.heat.domain.HeatAdoptStackData
-
- All Implemented Interfaces:
Serializable,AdoptStackData,ModelEntity
public class HeatAdoptStackData extends Object implements AdoptStackData
This class contains all elements required for the creation ofadopt_stack_dataelement. It is used for stack adoption and as a return value for stack abandoning. It uses Jackson annotation for (de)serialization into JSON.- Author:
- Ales Kemr
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeatAdoptStackData.HeatAdoptStackDataBuilder
-
Constructor Summary
Constructors Constructor Description HeatAdoptStackData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HeatAdoptStackData.HeatAdoptStackDataBuilderbuilder()StringgetAction()Returns stack action, e.g.StringgetId()Returns the id of the stackStringgetName()Returns the name of the stackMap<String,Map<String,Object>>getResources()Returns map of existing resources, to be adopted into the stackStringgetStatus()Returns the status of the stackMap<String,Object>getTemplate()Returns stack template as a mapStringtoString()
-
-
-
Method Detail
-
builder
public static HeatAdoptStackData.HeatAdoptStackDataBuilder builder()
-
getAction
public String getAction()
Description copied from interface:AdoptStackDataReturns stack action, e.g. CREATE- Specified by:
getActionin interfaceAdoptStackData- Returns:
- stack action
-
getId
public String getId()
Description copied from interface:AdoptStackDataReturns the id of the stack- Specified by:
getIdin interfaceAdoptStackData- Returns:
- the id of the stack
-
getName
public String getName()
Description copied from interface:AdoptStackDataReturns the name of the stack- Specified by:
getNamein interfaceAdoptStackData- Returns:
- the name of the stack
-
getStatus
public String getStatus()
Description copied from interface:AdoptStackDataReturns the status of the stack- Specified by:
getStatusin interfaceAdoptStackData- Returns:
- the status of the stack
-
getTemplate
public Map<String,Object> getTemplate()
Description copied from interface:AdoptStackDataReturns stack template as a map- Specified by:
getTemplatein interfaceAdoptStackData- Returns:
- stack template as a map
-
getResources
public Map<String,Map<String,Object>> getResources()
Description copied from interface:AdoptStackDataReturns map of existing resources, to be adopted into the stack- Specified by:
getResourcesin interfaceAdoptStackData- Returns:
- Map of existing resources to be adopted into the stack
-
-