Class ComponentOverride
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ComponentOverride
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ComponentOverrideBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ComponentOverride extends Object implements io.fabric8.kubernetes.api.builder.Editable<ComponentOverrideBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ComponentOverride allows overriding cluster version operator's behavior for a component.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentOverride()No args constructor for use in serializationComponentOverride(String group, String kind, String name, String namespace, Boolean unmanaged)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentOverrideBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroup()group identifies the API group that the kind is in.StringgetKind()kind indentifies which object to override.StringgetName()name is the component's name.StringgetNamespace()namespace is the component's namespace.BooleangetUnmanaged()unmanaged controls if cluster version operator should stop managing the resources in this cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(String group)group identifies the API group that the kind is in.voidsetKind(String kind)kind indentifies which object to override.voidsetName(String name)name is the component's name.voidsetNamespace(String namespace)namespace is the component's namespace.voidsetUnmanaged(Boolean unmanaged)unmanaged controls if cluster version operator should stop managing the resources in this cluster.ComponentOverrideBuildertoBuilder()
-
-
-
Method Detail
-
getGroup
public String getGroup()
group identifies the API group that the kind is in.
-
setGroup
public void setGroup(String group)
group identifies the API group that the kind is in.
-
getKind
public String getKind()
kind indentifies which object to override.
-
setKind
public void setKind(String kind)
kind indentifies which object to override.
-
getName
public String getName()
name is the component's name.
-
setName
public void setName(String name)
name is the component's name.
-
getNamespace
public String getNamespace()
namespace is the component's namespace. If the resource is cluster scoped, the namespace should be empty.
-
setNamespace
public void setNamespace(String namespace)
namespace is the component's namespace. If the resource is cluster scoped, the namespace should be empty.
-
getUnmanaged
public Boolean getUnmanaged()
unmanaged controls if cluster version operator should stop managing the resources in this cluster. Default: false
-
setUnmanaged
public void setUnmanaged(Boolean unmanaged)
unmanaged controls if cluster version operator should stop managing the resources in this cluster. Default: false
-
edit
public ComponentOverrideBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ComponentOverrideBuilder>
-
toBuilder
public ComponentOverrideBuilder toBuilder()
-
-