Class SyncObjectPatch
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.SyncObjectPatch
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SyncObjectPatchBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SyncObjectPatch extends Object implements io.fabric8.kubernetes.api.builder.Editable<SyncObjectPatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SyncObjectPatch represents a patch to be applied to a specific object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SyncObjectPatch()No args constructor for use in serializationSyncObjectPatch(String apiVersion, String kind, String name, String namespace, String patch, String patchType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncObjectPatchBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion is the Group and Version of the object to be patched.StringgetKind()Kind is the Kind of the object to be patched.StringgetName()Name is the name of the object to be patched.StringgetNamespace()Namespace is the Namespace in which the object to patch exists.StringgetPatch()Patch is the patch to apply.StringgetPatchType()PatchType indicates the PatchType as "strategic" (default), "json", or "merge".voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion is the Group and Version of the object to be patched.voidsetKind(String kind)Kind is the Kind of the object to be patched.voidsetName(String name)Name is the name of the object to be patched.voidsetNamespace(String namespace)Namespace is the Namespace in which the object to patch exists.voidsetPatch(String patch)Patch is the patch to apply.voidsetPatchType(String patchType)PatchType indicates the PatchType as "strategic" (default), "json", or "merge".SyncObjectPatchBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion is the Group and Version of the object to be patched.
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion is the Group and Version of the object to be patched.
-
getKind
public String getKind()
Kind is the Kind of the object to be patched.
-
setKind
public void setKind(String kind)
Kind is the Kind of the object to be patched.
-
getName
public String getName()
Name is the name of the object to be patched.
-
setName
public void setName(String name)
Name is the name of the object to be patched.
-
getNamespace
public String getNamespace()
Namespace is the Namespace in which the object to patch exists. Defaults to the SyncSet's Namespace.
-
setNamespace
public void setNamespace(String namespace)
Namespace is the Namespace in which the object to patch exists. Defaults to the SyncSet's Namespace.
-
getPatch
public String getPatch()
Patch is the patch to apply.
-
setPatch
public void setPatch(String patch)
Patch is the patch to apply.
-
getPatchType
public String getPatchType()
PatchType indicates the PatchType as "strategic" (default), "json", or "merge".
-
setPatchType
public void setPatchType(String patchType)
PatchType indicates the PatchType as "strategic" (default), "json", or "merge".
-
edit
public SyncObjectPatchBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SyncObjectPatchBuilder>
-
toBuilder
public SyncObjectPatchBuilder toBuilder()
-
-