Package com.atlan.model.structs
Class SourceTagAttachment
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.structs.AtlanStruct
com.atlan.model.structs.SourceTagAttachment
- All Implemented Interfaces:
Serializable
@Generated("com.atlan.generators.ModelGeneratorV2")
public class SourceTagAttachment
extends AtlanStruct
Detailed information about the attachment of a tag to an Atlan asset, synced from source.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
SourceTagAttachment.SourceTagAttachmentBuilder<C extends SourceTagAttachment,
B extends SourceTagAttachment.SourceTagAttachmentBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.structs.AtlanStruct
AtlanStruct.AtlanStructBuilder<C extends AtlanStruct,
B extends AtlanStruct.AtlanStructBuilder<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 TypeMethodDescriptionstatic SourceTagAttachment.SourceTagAttachmentBuilder<?,
?> builder()
static SourceTagAttachment
byName
(AtlanClient client, SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues) Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.static SourceTagAttachment
byName
(AtlanClient client, SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.static SourceTagAttachment
byName
(SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues) Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.static SourceTagAttachment
byName
(SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.static SourceTagAttachment
byQualifiedName
(AtlanClient client, String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues) Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.static SourceTagAttachment
byQualifiedName
(AtlanClient client, String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.static SourceTagAttachment
byQualifiedName
(String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues) Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.static SourceTagAttachment
byQualifiedName
(String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.protected boolean
boolean
Whether the tag attachment has been synced at the source (true) or not (false).Connector that is the source of the tag.Unique identifier (GUID) of the source tag, in Atlan.Simple name of the source tag.Unique name of the source tag, in Atlan.Error message if the tag attachment sync at the source failed.Time (epoch) when the tag attachment was synced at the source, in milliseconds.Value of the tag attachment, from the source.Fixed typeName for SourceTagAttachment.int
hashCode()
static SourceTagAttachment
of
(String sourceTagName, String sourceTagQualifiedName, String sourceTagGuid, String sourceTagConnectorName, List<SourceTagAttachmentValue> sourceTagValues, Boolean isSourceTagSynced, Long sourceTagSyncTimestamp, String sourceTagSyncError) Quickly create a new SourceTagAttachment.toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
SourceTagAttachment
-
-
Method Details
-
byName
public static SourceTagAttachment byName(SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.- Parameters:
name
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.sourceTagSyncTimestamp
- Time (epoch) when the tag attachment was synced at the source, in milliseconds.sourceTagSyncError
- Error message if the tag attachment sync at the source failed.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
byName
public static SourceTagAttachment byName(AtlanClient client, SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.- Parameters:
client
- connectivity to an Atlan tenantname
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.sourceTagSyncTimestamp
- Time (epoch) when the tag attachment was synced at the source, in milliseconds.sourceTagSyncError
- Error message if the tag attachment sync at the source failed.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
byName
public static SourceTagAttachment byName(SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.- Parameters:
name
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
byName
public static SourceTagAttachment byName(AtlanClient client, SourceTagCache.SourceTagName name, List<SourceTagAttachmentValue> sourceTagValues) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.- Parameters:
client
- connectivity to an Atlan tenantname
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
byQualifiedName
public static SourceTagAttachment byQualifiedName(String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.- Parameters:
sourceTagQualifiedName
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.sourceTagSyncTimestamp
- Time (epoch) when the tag attachment was synced at the source, in milliseconds.sourceTagSyncError
- Error message if the tag attachment sync at the source failed.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
byQualifiedName
public static SourceTagAttachment byQualifiedName(AtlanClient client, String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues, Long sourceTagSyncTimestamp, String sourceTagSyncError) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is synced to the source.- Parameters:
client
- connectivity to an Atlan tenantsourceTagQualifiedName
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.sourceTagSyncTimestamp
- Time (epoch) when the tag attachment was synced at the source, in milliseconds.sourceTagSyncError
- Error message if the tag attachment sync at the source failed.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
byQualifiedName
public static SourceTagAttachment byQualifiedName(String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.- Parameters:
sourceTagQualifiedName
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
byQualifiedName
public static SourceTagAttachment byQualifiedName(AtlanClient client, String sourceTagQualifiedName, List<SourceTagAttachmentValue> sourceTagValues) throws AtlanException Create a source-synced tag attachment with a particular value, when the attachment is not synced to the source.- Parameters:
client
- connectivity to an Atlan tenantsourceTagQualifiedName
- Unique name of the source tag, in Atlan.sourceTagValues
- Value of the tag attachment, from the source.- Returns:
- a SourceTagAttachment with the provided information
- Throws:
AtlanException
- on any error communicating via the underlying APIsNotFoundException
- if the source-synced tag cannot be resolved
-
of
public static SourceTagAttachment of(String sourceTagName, String sourceTagQualifiedName, String sourceTagGuid, String sourceTagConnectorName, List<SourceTagAttachmentValue> sourceTagValues, Boolean isSourceTagSynced, Long sourceTagSyncTimestamp, String sourceTagSyncError) Quickly create a new SourceTagAttachment.- Parameters:
sourceTagName
- Simple name of the source tag.sourceTagQualifiedName
- Unique name of the source tag, in Atlan.sourceTagGuid
- Unique identifier (GUID) of the source tag, in Atlan.sourceTagConnectorName
- Connector that is the source of the tag.sourceTagValues
- Value of the tag attachment, from the source.isSourceTagSynced
- Whether the tag attachment has been synced at the source (true) or not (false).sourceTagSyncTimestamp
- Time (epoch) when the tag attachment was synced at the source, in milliseconds.sourceTagSyncError
- Error message if the tag attachment sync at the source failed.- Returns:
- a SourceTagAttachment with the provided information
-
builder
-
toBuilder
-
getSourceTagName
Simple name of the source tag. -
getSourceTagQualifiedName
Unique name of the source tag, in Atlan. -
getSourceTagGuid
Unique identifier (GUID) of the source tag, in Atlan. -
getSourceTagConnectorName
Connector that is the source of the tag. -
getSourceTagValues
Value of the tag attachment, from the source. -
getIsSourceTagSynced
Whether the tag attachment has been synced at the source (true) or not (false). -
getSourceTagSyncTimestamp
Time (epoch) when the tag attachment was synced at the source, in milliseconds. -
getSourceTagSyncError
Error message if the tag attachment sync at the source failed. -
equals
- Overrides:
equals
in classAtlanStruct
-
canEqual
- Overrides:
canEqual
in classAtlanStruct
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanStruct
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-
getTypeName
Fixed typeName for SourceTagAttachment.- Overrides:
getTypeName
in classAtlanStruct
-