Class SenlinCluster
- java.lang.Object
-
- org.openstack4j.openstack.senlin.domain.SenlinCluster
-
- All Implemented Interfaces:
Serializable,ModelEntity,ResourceEntity,Cluster
public class SenlinCluster extends Object implements Cluster
This is a model of a senlinCluster. It uses Jackson annotations for (de)serialization into JSON format- Author:
- lion
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSenlinCluster.ClusterAn inner class for representing lists of senlinCluster
-
Constructor Summary
Constructors Constructor Description SenlinCluster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Returns the created at time of the clusterMap<String,Object>getData()Returns the data of the clusterIntegergetDesiredCapacity()Returns the desired capacity of the clusterStringgetDomain()Returns the domain of the clusterStringgetId()DategetInitAt()Returns the init at time of the clusterIntegergetMaxSize()Returns the max size of the clusterMap<String,Object>getMetadata()Returns the metadata of the clusterIntegergetMinSize()Returns the min size of the clusterStringgetName()List<String>getNodes()Returns the nodes of the clusterList<String>getPolicies()Returns the policies of the clusterStringgetProfileID()Returns the profile id of the clusterStringgetProfileName()Returns the profile name of the clusterStringgetProject()Returns the project of the clusterClusterStatusgetStatus()Returns the status of the clusterStringgetStatusReason()Returns the status reason of the clusterIntegergetTimeout()Returns the timeout value of the clusterDategetUpdatedAt()Returns the updated at time of the clusterStringgetUser()Returns the user of the clusterStringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceResourceEntity- Returns:
- the id of this entity
-
getName
public String getName()
- Specified by:
getNamein interfaceResourceEntity- Returns:
- the name of this entity
-
getCreatedAt
public Date getCreatedAt()
Description copied from interface:ClusterReturns the created at time of the cluster- Specified by:
getCreatedAtin interfaceCluster- Returns:
- the created at time of the cluster
-
getData
public Map<String,Object> getData()
Description copied from interface:ClusterReturns the data of the cluster
-
getDesiredCapacity
public Integer getDesiredCapacity()
Description copied from interface:ClusterReturns the desired capacity of the cluster- Specified by:
getDesiredCapacityin interfaceCluster- Returns:
- the desired capacity of the cluster
-
getDomain
public String getDomain()
Description copied from interface:ClusterReturns the domain of the cluster
-
getInitAt
public Date getInitAt()
Description copied from interface:ClusterReturns the init at time of the cluster
-
getMaxSize
public Integer getMaxSize()
Description copied from interface:ClusterReturns the max size of the cluster- Specified by:
getMaxSizein interfaceCluster- Returns:
- the max size time of the cluster
-
getMetadata
public Map<String,Object> getMetadata()
Description copied from interface:ClusterReturns the metadata of the cluster- Specified by:
getMetadatain interfaceCluster- Returns:
- the metadata of the cluster
-
getMinSize
public Integer getMinSize()
Description copied from interface:ClusterReturns the min size of the cluster- Specified by:
getMinSizein interfaceCluster- Returns:
- the min size of the cluster
-
getNodes
public List<String> getNodes()
Description copied from interface:ClusterReturns the nodes of the cluster
-
getPolicies
public List<String> getPolicies()
Description copied from interface:ClusterReturns the policies of the cluster- Specified by:
getPoliciesin interfaceCluster- Returns:
- the policies of the cluster
-
getProfileID
public String getProfileID()
Description copied from interface:ClusterReturns the profile id of the cluster- Specified by:
getProfileIDin interfaceCluster- Returns:
- the profile id of the cluster
-
getProfileName
public String getProfileName()
Description copied from interface:ClusterReturns the profile name of the cluster- Specified by:
getProfileNamein interfaceCluster- Returns:
- the profile name of the cluster
-
getProject
public String getProject()
Description copied from interface:ClusterReturns the project of the cluster- Specified by:
getProjectin interfaceCluster- Returns:
- the project of the cluster
-
getStatus
public ClusterStatus getStatus()
Description copied from interface:ClusterReturns the status of the cluster
-
getStatusReason
public String getStatusReason()
Description copied from interface:ClusterReturns the status reason of the cluster- Specified by:
getStatusReasonin interfaceCluster- Returns:
- the status reason of the cluster
-
getTimeout
public Integer getTimeout()
Description copied from interface:ClusterReturns the timeout value of the cluster- Specified by:
getTimeoutin interfaceCluster- Returns:
- the timeout value of the cluster
-
getUpdatedAt
public Date getUpdatedAt()
Description copied from interface:ClusterReturns the updated at time of the cluster- Specified by:
getUpdatedAtin interfaceCluster- Returns:
- the updated at time of the cluster
-
getUser
public String getUser()
Description copied from interface:ClusterReturns the user of the cluster
-
-