Package com.atlan.model.typedefs
Class CustomMetadataOptions
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.typedefs.CustomMetadataOptions
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
CustomMetadataOptions.CustomMetadataOptionsBuilder<C extends CustomMetadataOptions,
B extends CustomMetadataOptions.CustomMetadataOptionsBuilder<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
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getEmoji()
If thelogoType
is emoji, this should hold the emoji character.Color to use for the icon.Icon to use to represent the custom metadata.Unique identifier (GUID) of the image used for the logo, for logos that are uploaded directly to Atlan.Indicates whether the custom metadata can be managed in the UI (false) or not (true).Type of logo used for the custom metadata.If thelogoType
is image, this should hold a URL to the image.int
hashCode()
toString()
static CustomMetadataOptions
Provide custom metadata options that set the logo for the custom metadata to the provided emoji.static CustomMetadataOptions
Provide custom metadata options that set the logo for the custom metadata to the provided emoji.static CustomMetadataOptions
withIcon
(AtlanIcon icon, AtlanTagColor color) Provide custom metadata options that set the logo for the custom metadata to the provided icon and color.static CustomMetadataOptions
withIcon
(AtlanIcon icon, AtlanTagColor color, boolean locked) Provide custom metadata options that set the logo for the custom metadata to the provided icon.static CustomMetadataOptions
Provide custom metadata options that set the logo for the custom metadata from the image at the provided URL.static CustomMetadataOptions
Provide custom metadata options that set the logo for the custom metadata from the image at the provided URL.Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
CustomMetadataOptions
-
-
Method Details
-
withImage
Provide custom metadata options that set the logo for the custom metadata from the image at the provided URL. The custom metadata will be editable through the UI.- Parameters:
url
- to an image (for example a .png)- Returns:
- the necessary options for setting this image as the logo for the custom metadata
-
withImage
Provide custom metadata options that set the logo for the custom metadata from the image at the provided URL.- Parameters:
url
- to an image (for example a .png)locked
- if true, the custom metadata cannot be modified through the Atlan UI- Returns:
- the necessary options for setting this image as the logo for the custom metadata
-
withEmoji
Provide custom metadata options that set the logo for the custom metadata to the provided emoji. The custom metadata will be editable through the UI.- Parameters:
emoji
- the emoji character to use for the logo- Returns:
- the necessary options for setting this emoji character as the logo for the custom metadata
-
withEmoji
Provide custom metadata options that set the logo for the custom metadata to the provided emoji.- Parameters:
emoji
- the emoji character to use for the logolocked
- if true, the custom metadata cannot be modified through the Atlan UI- Returns:
- the necessary options for setting this emoji character as the logo for the custom metadata
-
withIcon
Provide custom metadata options that set the logo for the custom metadata to the provided icon and color. The custom metadata will be editable through the UI.- Parameters:
icon
- the icon to use for the logocolor
- the color to use for the icon- Returns:
- the necessary options for setting this icon (and color) as the logo for the custom metadata
-
withIcon
Provide custom metadata options that set the logo for the custom metadata to the provided icon.- Parameters:
icon
- the icon to use for the logocolor
- the color to use for the iconlocked
- if true, the custom metadata cannot be modified through the Atlan UI- Returns:
- the necessary options for setting this icon (and color) as the logo for the custom metadata
-
builder
-
getLogoType
Type of logo used for the custom metadata. -
getIconColor
Color to use for the icon. -
getIconName
Icon to use to represent the custom metadata. -
getEmoji
If thelogoType
is emoji, this should hold the emoji character. -
getLogoUrl
If thelogoType
is image, this should hold a URL to the image. -
getIsLocked
Indicates whether the custom metadata can be managed in the UI (false) or not (true). -
getImageId
Unique identifier (GUID) of the image used for the logo, for logos that are uploaded directly to Atlan. -
equals
- Overrides:
equals
in classAtlanObject
-
canEqual
- Overrides:
canEqual
in classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanObject
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-