Package com.atlan.model.admin
Class AtlanTagRequest
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.admin.AtlanRequest
com.atlan.model.admin.AtlanTagRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AtlanTagRequest.AtlanTagRequestBuilder<C extends AtlanTagRequest,
B extends AtlanTagRequest.AtlanTagRequestBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.admin.AtlanRequest
AtlanRequest.AtlanRequestBuilder<C extends AtlanRequest,
B extends AtlanRequest.AtlanRequestBuilder<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 AtlanTagRequest.AtlanTagRequestBuilder<?,
?> builder()
protected boolean
static AtlanTagRequest.AtlanTagRequestBuilder<?,
?> creator
(Asset asset, AtlanTagPayload atlanTagDetails) Create a new request to attach an Atlan tag to an asset.static AtlanTagRequest.AtlanTagRequestBuilder<?,
?> creator
(String assetGuid, String assetQualifiedName, String assetType, AtlanTagPayload atlanTagDetails) Create a new request to attach an Atlan tag to an asset.boolean
Details of the requested Atlan tag.Fixed requestType for Atlan tags.Fixed sourceType for Atlan tags.int
hashCode()
toString()
Methods inherited from class com.atlan.model.admin.AtlanRequest
approve, approve, create, create, getAccessEndDate, getAccessStartDate, getApprovalType, getApprovedBy, getAssignedApprovers, getBotRunId, getConfidenceScore, getCreatedAt, getCreatedBy, getDestinationAttribute, getDestinationEntity, getDestinationGuid, getDestinationQualifiedName, getDestinationValue, getDestinationValueAction, getDestinationValueArray, getDestinationValueObject, getDestinationValueType, getEntityType, getHash, getId, getIsActive, getIsDuplicate, getMessage, getRejectedBy, getRequestApproverGroups, getRequestApproverRoles, getRequestApproverUsers, getRequestDenyGroups, getRequestDenyRoles, getRequestDenyUsers, getRequestsBatch, getSourceAttribute, getSourceEntity, getSourceGuid, getSourceQualifiedName, getStatus, getTenantId, getUpdatedAt, getVersion, list, list, reject, reject, retrieveByGuid, retrieveByGuid
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Field Details
-
REQUEST_TYPE
- See Also:
-
SOURCE_TYPE
- See Also:
-
-
Constructor Details
-
AtlanTagRequest
-
-
Method Details
-
creator
public static AtlanTagRequest.AtlanTagRequestBuilder<?,?> creator(Asset asset, AtlanTagPayload atlanTagDetails) throws InvalidRequestException Create a new request to attach an Atlan tag to an asset. Note that the asset must have at least its real (not placeholder) GUID and qualifiedName populated.- Parameters:
asset
- against which to raise the requestatlanTagDetails
- details of the requested Atlan tag- Returns:
- a builder for the request with these details
- Throws:
InvalidRequestException
- if any of the required details for the provided asset are missing
-
creator
public static AtlanTagRequest.AtlanTagRequestBuilder<?,?> creator(String assetGuid, String assetQualifiedName, String assetType, AtlanTagPayload atlanTagDetails) Create a new request to attach an Atlan tag to an asset.- Parameters:
assetGuid
- unique identifier (GUID) of the asset to classifyassetQualifiedName
- qualifiedName of the asset to classifyassetType
- type of the asset to classifyatlanTagDetails
- details of the requested Atlan tag- Returns:
- a builder for the request with these details
-
builder
-
toBuilder
-
getPayload
Details of the requested Atlan tag. -
equals
- Overrides:
equals
in classAtlanRequest
-
canEqual
- Overrides:
canEqual
in classAtlanRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanRequest
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanRequest
-
getRequestType
Fixed requestType for Atlan tags.- Overrides:
getRequestType
in classAtlanRequest
-
getSourceType
Fixed sourceType for Atlan tags.- Overrides:
getSourceType
in classAtlanRequest
-