Package com.atlan.model.admin
Class TermLinkRequest
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.admin.AtlanRequest
com.atlan.model.admin.TermLinkRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTermLinkRequest.TermLinkRequestBuilder<C extends TermLinkRequest,B extends TermLinkRequest.TermLinkRequestBuilder<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
FieldsFields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic TermLinkRequest.TermLinkRequestBuilder<?, ?> builder()protected booleanstatic TermLinkRequest.TermLinkRequestBuilder<?, ?> creator(Asset asset, GlossaryTerm term) Create a new request to change an attribute's value.static TermLinkRequest.TermLinkRequestBuilder<?, ?> creator(String assetGuid, String assetQualifiedName, String assetType, String termGuid, String termQualifiedName) Create a new request to link a term to an asset.booleanFixed requestType for term assignments.Fixed sourceType for term assignments.inthashCode()toString()Methods inherited from class com.atlan.model.admin.AtlanRequest
approve, 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, reject, retrieveByGuidMethods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Field Details
-
REQUEST_TYPE
- See Also:
-
SOURCE_TYPE
- See Also:
-
-
Constructor Details
-
TermLinkRequest
-
-
Method Details
-
creator
public static TermLinkRequest.TermLinkRequestBuilder<?,?> creator(Asset asset, GlossaryTerm term) throws InvalidRequestException Create a new request to change an attribute's value. Note that the asset must have at least its real (not placeholder) GUID and qualifiedName populated.- Parameters:
asset- against which to raise the requestterm- to link to the asset- 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 TermLinkRequest.TermLinkRequestBuilder<?,?> creator(String assetGuid, String assetQualifiedName, String assetType, String termGuid, String termQualifiedName) Create a new request to link a term to an asset.- Parameters:
assetGuid- unique identifier (GUID) of the asset to link to the termassetQualifiedName- qualifiedName of the asset to link to the termassetType- type of the asset to link to the termtermGuid- unique identifier (GUID) of the term to link to the assettermQualifiedName- qualifiedName of the term to link to the asset- Returns:
- a builder for the request with these details
-
builder
-
toBuilder
-
equals
- Overrides:
equalsin classAtlanRequest
-
canEqual
- Overrides:
canEqualin classAtlanRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanRequest
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAtlanRequest
-
getRequestType
Fixed requestType for term assignments.- Overrides:
getRequestTypein classAtlanRequest
-
getSourceType
Fixed sourceType for term assignments.- Overrides:
getSourceTypein classAtlanRequest
-