Class TopologySpreadConstraint

    • Constructor Detail

      • TopologySpreadConstraint

        public TopologySpreadConstraint()
        No args constructor for use in serialization
      • TopologySpreadConstraint

        public TopologySpreadConstraint​(LabelSelector labelSelector,
                                        Integer maxSkew,
                                        String topologyKey,
                                        String whenUnsatisfiable)
        Parameters:
        whenUnsatisfiable -
        maxSkew -
        labelSelector -
        topologyKey -
    • Method Detail

      • setLabelSelector

        public void setLabelSelector​(LabelSelector labelSelector)
      • getMaxSkew

        public Integer getMaxSkew()
      • setMaxSkew

        public void setMaxSkew​(Integer maxSkew)
      • getTopologyKey

        public String getTopologyKey()
      • setTopologyKey

        public void setTopologyKey​(String topologyKey)
      • getWhenUnsatisfiable

        public String getWhenUnsatisfiable()
      • setWhenUnsatisfiable

        public void setWhenUnsatisfiable​(String whenUnsatisfiable)
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)