Class OperandVersion
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.OperandVersion
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OperandVersionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OperandVersion extends Object implements io.fabric8.kubernetes.api.builder.Editable<OperandVersionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OperandVersion()No args constructor for use in serializationOperandVersion(String name, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperandVersionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name is the name of the particular operand this version is for.StringgetVersion()version indicates which version of a particular operand is currently being managed.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name is the name of the particular operand this version is for.voidsetVersion(String version)version indicates which version of a particular operand is currently being managed.OperandVersionBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
name is the name of the particular operand this version is for. It usually matches container images, not operators.
-
setName
public void setName(String name)
name is the name of the particular operand this version is for. It usually matches container images, not operators.
-
getVersion
public String getVersion()
version indicates which version of a particular operand is currently being managed. It must always match the Available operand. If 1.0.0 is Available, then this must indicate 1.0.0 even if the operator is trying to rollout 1.1.0
-
setVersion
public void setVersion(String version)
version indicates which version of a particular operand is currently being managed. It must always match the Available operand. If 1.0.0 is Available, then this must indicate 1.0.0 even if the operator is trying to rollout 1.1.0
-
edit
public OperandVersionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OperandVersionBuilder>
-
toBuilder
public OperandVersionBuilder toBuilder()
-
-