Class Mutation
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.admissionregistration.v1alpha1.Mutation
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MutationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Mutation extends Object implements io.fabric8.kubernetes.api.builder.Editable<MutationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Mutation specifies the CEL expression which is used to apply the Mutation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Mutation()No args constructor for use in serializationMutation(ApplyConfiguration applyConfiguration, JSONPatch jsonPatch, String patchType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutationBuilderedit()Map<String,Object>getAdditionalProperties()ApplyConfigurationgetApplyConfiguration()Mutation specifies the CEL expression which is used to apply the Mutation.JSONPatchgetJsonPatch()Mutation specifies the CEL expression which is used to apply the Mutation.StringgetPatchType()patchType indicates the patch strategy used.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApplyConfiguration(ApplyConfiguration applyConfiguration)Mutation specifies the CEL expression which is used to apply the Mutation.voidsetJsonPatch(JSONPatch jsonPatch)Mutation specifies the CEL expression which is used to apply the Mutation.voidsetPatchType(String patchType)patchType indicates the patch strategy used.MutationBuildertoBuilder()
-
-
-
Constructor Detail
-
Mutation
public Mutation()
No args constructor for use in serialization
-
Mutation
public Mutation(ApplyConfiguration applyConfiguration, JSONPatch jsonPatch, String patchType)
-
-
Method Detail
-
getApplyConfiguration
public ApplyConfiguration getApplyConfiguration()
Mutation specifies the CEL expression which is used to apply the Mutation.
-
setApplyConfiguration
public void setApplyConfiguration(ApplyConfiguration applyConfiguration)
Mutation specifies the CEL expression which is used to apply the Mutation.
-
getJsonPatch
public JSONPatch getJsonPatch()
Mutation specifies the CEL expression which is used to apply the Mutation.
-
setJsonPatch
public void setJsonPatch(JSONPatch jsonPatch)
Mutation specifies the CEL expression which is used to apply the Mutation.
-
getPatchType
public String getPatchType()
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
-
setPatchType
public void setPatchType(String patchType)
patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.
-
edit
public MutationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MutationBuilder>
-
toBuilder
public MutationBuilder toBuilder()
-
-