Class TagAssociation
- java.lang.Object
-
- io.datahubproject.openapi.generated.TagAssociation
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class TagAssociation extends java.lang.ObjectProperties of an applied tag. For now, just an Urn. In the future we can extend this with other properties, e.g. propagation parameters.
-
-
Constructor Summary
Constructors Constructor Description TagAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagAssociationcontext(java.lang.String context)booleanequals(java.lang.Object o)java.lang.StringgetContext()Additional context about the association@NotNull java.lang.StringgetTag()Urn of the applied taginthashCode()voidsetContext(java.lang.String context)voidsetTag(java.lang.String tag)TagAssociationtag(java.lang.String tag)java.lang.StringtoString()
-
-
-
Method Detail
-
tag
public TagAssociation tag(java.lang.String tag)
-
getTag
@NotNull public @NotNull java.lang.String getTag()
Urn of the applied tag- Returns:
- tag
-
setTag
public void setTag(java.lang.String tag)
-
context
public TagAssociation context(java.lang.String context)
-
getContext
public java.lang.String getContext()
Additional context about the association- Returns:
- context
-
setContext
public void setContext(java.lang.String context)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-