Package datahub.client.patch.common
Class GlobalTagsPatchBuilder
- java.lang.Object
-
- datahub.client.patch.AbstractPatchBuilder<GlobalTagsPatchBuilder>
-
- datahub.client.patch.common.GlobalTagsPatchBuilder
-
public class GlobalTagsPatchBuilder extends AbstractPatchBuilder<GlobalTagsPatchBuilder>
-
-
Field Summary
-
Fields inherited from class datahub.client.patch.AbstractPatchBuilder
OBJECT_MAPPER, op, OP_KEY, PATH_KEY, targetEntityUrn, VALUE_KEY
-
-
Constructor Summary
Constructors Constructor Description GlobalTagsPatchBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalTagsPatchBuildercontext(java.lang.String context)protected java.lang.StringgetAspectName()The aspect name associated with this builderprotected java.lang.StringgetPath()Path of the patch to apply, patch builders with complex object subpath will use a FieldPath enum to specifyprotected java.util.stream.Stream<java.lang.Object>getRequiredProperties()Properties required by this builder to properly construct a patchprotected com.fasterxml.jackson.databind.JsonNodegetValue()Json Patch value in JsonNode format, Note: field values initialize as null, so setting a field to null will be ignored rather than actually setting the field to null.GlobalTagsPatchBuilderurn(com.linkedin.common.TagUrn tag)-
Methods inherited from class datahub.client.patch.AbstractPatchBuilder
build, buildPatch, op, urn
-
-
-
-
Method Detail
-
urn
public GlobalTagsPatchBuilder urn(com.linkedin.common.TagUrn tag)
-
context
public GlobalTagsPatchBuilder context(java.lang.String context)
-
getRequiredProperties
protected java.util.stream.Stream<java.lang.Object> getRequiredProperties()
Description copied from class:AbstractPatchBuilderProperties required by this builder to properly construct a patch- Specified by:
getRequiredPropertiesin classAbstractPatchBuilder<GlobalTagsPatchBuilder>- Returns:
- a list of properties to execute a null check on
-
getPath
protected java.lang.String getPath()
Description copied from class:AbstractPatchBuilderPath of the patch to apply, patch builders with complex object subpath will use a FieldPath enum to specify- Specified by:
getPathin classAbstractPatchBuilder<GlobalTagsPatchBuilder>- Returns:
- path string
-
getValue
protected com.fasterxml.jackson.databind.JsonNode getValue()
Description copied from class:AbstractPatchBuilderJson Patch value in JsonNode format, Note: field values initialize as null, so setting a field to null will be ignored rather than actually setting the field to null.- Specified by:
getValuein classAbstractPatchBuilder<GlobalTagsPatchBuilder>- Returns:
JsonNode
-
getAspectName
protected java.lang.String getAspectName()
Description copied from class:AbstractPatchBuilderThe aspect name associated with this builder- Specified by:
getAspectNamein classAbstractPatchBuilder<GlobalTagsPatchBuilder>- Returns:
- aspect name
-
-