Class ConditionalUpdateRisk

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ConditionalUpdateRiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ConditionalUpdateRisk
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ConditionalUpdateRiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ConditionalUpdateRisk represents a reason and cluster-state for not recommending a conditional update.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConditionalUpdateRisk

        public ConditionalUpdateRisk()
        No args constructor for use in serialization
    • Method Detail

      • getMatchingRules

        public List<ClusterCondition> getMatchingRules()
        matchingRules is a slice of conditions for deciding which clusters match the risk and which do not. The slice is ordered by decreasing precedence. The cluster-version operator will walk the slice in order, and stop after the first it can successfully evaluate. If no condition can be successfully evaluated, the update will not be recommended.
      • setMatchingRules

        public void setMatchingRules​(List<ClusterCondition> matchingRules)
        matchingRules is a slice of conditions for deciding which clusters match the risk and which do not. The slice is ordered by decreasing precedence. The cluster-version operator will walk the slice in order, and stop after the first it can successfully evaluate. If no condition can be successfully evaluated, the update will not be recommended.
      • getMessage

        public String getMessage()
        message provides additional information about the risk of updating, in the event that matchingRules match the cluster state. This is only to be consumed by humans. It may contain Line Feed characters (U+000A), which should be rendered as new lines.
      • setMessage

        public void setMessage​(String message)
        message provides additional information about the risk of updating, in the event that matchingRules match the cluster state. This is only to be consumed by humans. It may contain Line Feed characters (U+000A), which should be rendered as new lines.
      • getName

        public String getName()
        name is the CamelCase reason for not recommending a conditional update, in the event that matchingRules match the cluster state.
      • setName

        public void setName​(String name)
        name is the CamelCase reason for not recommending a conditional update, in the event that matchingRules match the cluster state.
      • getUrl

        public String getUrl()
        url contains information about this risk.
      • setUrl

        public void setUrl​(String url)
        url contains information about this risk.
      • getAdditionalProperties

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

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)