Package com.atlan.model.typedefs
Class AtlanTagOptions
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.typedefs.AtlanTagOptions
- All Implemented Interfaces:
Serializable
Options that can be defined for an Atlan tag.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAtlanTagOptions.AtlanTagOptionsBuilder<C extends AtlanTagOptions,B extends AtlanTagOptions.AtlanTagOptionsBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlanTagOptions.AtlanTagOptionsBuilder<?,?> builder()protected booleanbooleangetColor()Color to use for the Atlan tag.getEmoji()If theiconTypeis emoji, this should hold the emoji character.Name of icon to use to represent the tag visually.Type of icon to use for representing the tag visually.Unique identifier (GUID) of an image to use for the tag.inthashCode()static AtlanTagOptionsof(AtlanTagColor color) Provide Atlan tag options that set the color for the tag, using the default tag icon.toString()static AtlanTagOptionsProvide Atlan tag options that set the logo for the tag to the provided emoji.static AtlanTagOptionswithIcon(AtlanIcon icon, AtlanTagColor color) Provide Atlan tag options that set the icon and color for the tag, using a built-in icon.static AtlanTagOptionswithImage(AtlanClient client, String url) Provide Atlan tag options that set the image for the tag, using an uploaded image.static AtlanTagOptionsProvide Atlan tag options that set the image for the tag, using an uploaded image.Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
AtlanTagOptions
-
-
Method Details
-
of
Provide Atlan tag options that set the color for the tag, using the default tag icon.- Parameters:
color- to use to represent the Atlan tag- Returns:
- the necessary options for setting this color for the Atlan tag
-
withIcon
Provide Atlan tag options that set the icon and color for the tag, using a built-in icon.- Parameters:
icon- to use to represent the Atlan tagcolor- to use to represent the Atlan tag- Returns:
- the necessary options for setting this icon and color for the Atlan tag
-
withImage
Provide Atlan tag options that set the image for the tag, using an uploaded image.- Parameters:
url- URL to the image to use for the Atlan tag- Returns:
- the necessary options for setting this image for the Atlan tag
- Throws:
AtlanException- on any API communication issues trying to upload the image
-
withImage
Provide Atlan tag options that set the image for the tag, using an uploaded image.- Parameters:
client- connectivity to the Atlan tenant in which the tag is intended to be createdurl- URL to the image to use for the Atlan tag- Returns:
- the necessary options for setting this image for the Atlan tag
- Throws:
AtlanException- on any API communication issues trying to upload the image
-
withEmoji
Provide Atlan tag options that set the logo for the tag to the provided emoji.- Parameters:
emoji- the emoji character to use for the logo- Returns:
- the necessary options for setting this emoji character as the logo for the Atlan tag
-
builder
-
toBuilder
-
getColor
Color to use for the Atlan tag. -
getIconName
Name of icon to use to represent the tag visually. -
getIconType
Type of icon to use for representing the tag visually. -
getEmoji
If theiconTypeis emoji, this should hold the emoji character. -
getImageID
Unique identifier (GUID) of an image to use for the tag. -
equals
- Overrides:
equalsin classAtlanObject
-
canEqual
- Overrides:
canEqualin classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanObject
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAtlanObject
-