Class ConditionalUpdateRisk
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.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 Summary
Constructors Constructor Description ConditionalUpdateRisk()No args constructor for use in serializationConditionalUpdateRisk(List<ClusterCondition> matchingRules, String message, String name, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionalUpdateRiskBuilderedit()Map<String,Object>getAdditionalProperties()List<ClusterCondition>getMatchingRules()matchingRules is a slice of conditions for deciding which clusters match the risk and which do not.StringgetMessage()message provides additional information about the risk of updating, in the event that matchingRules match the cluster state.StringgetName()name is the CamelCase reason for not recommending a conditional update, in the event that matchingRules match the cluster state.StringgetUrl()url contains information about this risk.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMatchingRules(List<ClusterCondition> matchingRules)matchingRules is a slice of conditions for deciding which clusters match the risk and which do not.voidsetMessage(String message)message provides additional information about the risk of updating, in the event that matchingRules match the cluster state.voidsetName(String name)name is the CamelCase reason for not recommending a conditional update, in the event that matchingRules match the cluster state.voidsetUrl(String url)url contains information about this risk.ConditionalUpdateRiskBuildertoBuilder()
-
-
-
Constructor Detail
-
ConditionalUpdateRisk
public ConditionalUpdateRisk()
No args constructor for use in serialization
-
ConditionalUpdateRisk
public ConditionalUpdateRisk(List<ClusterCondition> matchingRules, String message, String name, String url)
-
-
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.
-
edit
public ConditionalUpdateRiskBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConditionalUpdateRiskBuilder>
-
toBuilder
public ConditionalUpdateRiskBuilder toBuilder()
-
-