Interface Cluster

  • All Superinterfaces:
    ModelEntity, ResourceEntity, Serializable
    All Known Implementing Classes:
    SenlinCluster

    public interface Cluster
    extends ResourceEntity
    This interface describes the getter-methods (and thus components) of a Cluster. All getters map to the possible return values of GET /v1/clusters/​{cluster_id}​
    Author:
    lion
    • Method Detail

      • getCreatedAt

        Date getCreatedAt()
        Returns the created at time of the cluster
        Returns:
        the created at time of the cluster
      • getData

        Map<String,​Object> getData()
        Returns the data of the cluster
        Returns:
        the data of the cluster
      • getDesiredCapacity

        Integer getDesiredCapacity()
        Returns the desired capacity of the cluster
        Returns:
        the desired capacity of the cluster
      • getDomain

        String getDomain()
        Returns the domain of the cluster
        Returns:
        the domain of the cluster
      • getInitAt

        Date getInitAt()
        Returns the init at time of the cluster
        Returns:
        the init at time of the cluster
      • getMaxSize

        Integer getMaxSize()
        Returns the max size of the cluster
        Returns:
        the max size time of the cluster
      • getMetadata

        Map<String,​Object> getMetadata()
        Returns the metadata of the cluster
        Returns:
        the metadata of the cluster
      • getMinSize

        Integer getMinSize()
        Returns the min size of the cluster
        Returns:
        the min size of the cluster
      • getNodes

        List<String> getNodes()
        Returns the nodes of the cluster
        Returns:
        the nodes of the cluster
      • getPolicies

        List<String> getPolicies()
        Returns the policies of the cluster
        Returns:
        the policies of the cluster
      • getProfileID

        String getProfileID()
        Returns the profile id of the cluster
        Returns:
        the profile id of the cluster
      • getProfileName

        String getProfileName()
        Returns the profile name of the cluster
        Returns:
        the profile name of the cluster
      • getProject

        String getProject()
        Returns the project of the cluster
        Returns:
        the project of the cluster
      • getStatus

        ClusterStatus getStatus()
        Returns the status of the cluster
        Returns:
        the status of the cluster
      • getStatusReason

        String getStatusReason()
        Returns the status reason of the cluster
        Returns:
        the status reason of the cluster
      • getTimeout

        Integer getTimeout()
        Returns the timeout value of the cluster
        Returns:
        the timeout value of the cluster
      • getUpdatedAt

        Date getUpdatedAt()
        Returns the updated at time of the cluster
        Returns:
        the updated at time of the cluster
      • getUser

        String getUser()
        Returns the user of the cluster
        Returns:
        the user of the cluster