Interface ClusterPolicy

  • All Superinterfaces:
    ModelEntity, Serializable
    All Known Implementing Classes:
    SenlinClusterPolicy

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

      • getId

        String getId()
        Returns the id of the ClusterPolicy
        Returns:
        the id of the ClusterPolicy
      • getPolicyType

        String getPolicyType()
        Returns the policy type of the ClusterPolicy
        Returns:
        the policy type of the ClusterPolicy
      • getClusterID

        String getClusterID()
        Returns the cluster id of the ClusterPolicy
        Returns:
        the cluster id of the ClusterPolicy
      • getClusterName

        String getClusterName()
        Returns the cluster name of the ClusterPolicy
        Returns:
        the cluster name of the ClusterPolicy
      • getEnabled

        Boolean getEnabled()
        Returns the enabled or not of the ClusterPolicy
        Returns:
        the enabled or not of the ClusterPolicy
      • getPolicyID

        String getPolicyID()
        Returns the policy id of the ClusterPolicy
        Returns:
        the policy id of the ClusterPolicy
      • getPolicyName

        String getPolicyName()
        Returns the policy name of the ClusterPolicy
        Returns:
        the policy name of the ClusterPolicy