Class ConditionalUpdate
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ConditionalUpdate
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConditionalUpdateBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConditionalUpdate extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConditionalUpdateBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ConditionalUpdate represents an update which is recommended to some clusters on the version the current cluster is reconciling, but which may not be recommended for the current cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConditionalUpdate()No args constructor for use in serializationConditionalUpdate(List<io.fabric8.kubernetes.api.model.Condition> conditions, Release release, List<ConditionalUpdateRisk> risks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionalUpdateBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions represents the observations of the conditional update's current status.ReleasegetRelease()ConditionalUpdate represents an update which is recommended to some clusters on the version the current cluster is reconciling, but which may not be recommended for the current cluster.List<ConditionalUpdateRisk>getRisks()risks represents the range of issues associated with updating to the target release.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions represents the observations of the conditional update's current status.voidsetRelease(Release release)ConditionalUpdate represents an update which is recommended to some clusters on the version the current cluster is reconciling, but which may not be recommended for the current cluster.voidsetRisks(List<ConditionalUpdateRisk> risks)risks represents the range of issues associated with updating to the target release.ConditionalUpdateBuildertoBuilder()
-
-
-
Constructor Detail
-
ConditionalUpdate
public ConditionalUpdate()
No args constructor for use in serialization
-
ConditionalUpdate
public ConditionalUpdate(List<io.fabric8.kubernetes.api.model.Condition> conditions, Release release, List<ConditionalUpdateRisk> risks)
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions represents the observations of the conditional update's current status. Known types are: * Recommended, for whether the update is recommended for the current cluster.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions represents the observations of the conditional update's current status. Known types are: * Recommended, for whether the update is recommended for the current cluster.
-
getRelease
public Release getRelease()
ConditionalUpdate represents an update which is recommended to some clusters on the version the current cluster is reconciling, but which may not be recommended for the current cluster.
-
setRelease
public void setRelease(Release release)
ConditionalUpdate represents an update which is recommended to some clusters on the version the current cluster is reconciling, but which may not be recommended for the current cluster.
-
getRisks
public List<ConditionalUpdateRisk> getRisks()
risks represents the range of issues associated with updating to the target release. The cluster-version operator will evaluate all entries, and only recommend the update if there is at least one entry and all entries recommend the update.
-
setRisks
public void setRisks(List<ConditionalUpdateRisk> risks)
risks represents the range of issues associated with updating to the target release. The cluster-version operator will evaluate all entries, and only recommend the update if there is at least one entry and all entries recommend the update.
-
edit
public ConditionalUpdateBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConditionalUpdateBuilder>
-
toBuilder
public ConditionalUpdateBuilder toBuilder()
-
-