Class AtlanRequest.AtlanRequestBuilder<C extends AtlanRequest,B extends AtlanRequest.AtlanRequestBuilder<C,B>>

java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.admin.AtlanRequest.AtlanRequestBuilder<C,B>
Direct Known Subclasses:
AtlanTagRequest.AtlanTagRequestBuilder, AttributeRequest.AttributeRequestBuilder, CustomMetadataRequest.CustomMetadataRequestBuilder, TermLinkRequest.TermLinkRequestBuilder
Enclosing class:
AtlanRequest

public abstract static class AtlanRequest.AtlanRequestBuilder<C extends AtlanRequest,B extends AtlanRequest.AtlanRequestBuilder<C,B>> extends AtlanObject.AtlanObjectBuilder<C,B>
  • Constructor Details

    • AtlanRequestBuilder

      public AtlanRequestBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class AtlanObject.AtlanObjectBuilder<C extends AtlanRequest,B extends AtlanRequest.AtlanRequestBuilder<C,B>>
    • id

      public B id(String id)
      Unique identifier for the request (GUID).
      Returns:
      this.
    • version

      public B version(String version)
      Unique version name for the request.
      Returns:
      this.
    • isActive

      public B isActive(Boolean isActive)
      If true, the request is still open.
      Returns:
      this.
    • createdAt

      public B createdAt(Long createdAt)
      Date and time at which the request was created.
      Returns:
      this.
    • updatedAt

      public B updatedAt(Long updatedAt)
      Date and time at which the request was last updated.
      Returns:
      this.
    • createdBy

      public B createdBy(String createdBy)
      User who created the request.
      Returns:
      this.
    • tenantId

      public B tenantId(String tenantId)
      Name of the tenant for the request (usually `default`).
      Returns:
      this.
    • sourceType

      public B sourceType(String sourceType)
      Should be `static` for an ATTRIBUTE or CUSTOM_METADATA requestType, and `atlas` for other request types.
      Returns:
      this.
    • sourceGuid

      public B sourceGuid(String sourceGuid)
      Unique identifier (GUID) of the asset being related through this request, for example the term's GUID for a TERM_LINK.
      Returns:
      this.
    • sourceQualifiedName

      public B sourceQualifiedName(String sourceQualifiedName)
      Unique name of the asset being related through this request, for example the term's qualifiedName for a TERM_LINK.
      Returns:
      this.
    • sourceAttribute

      public B sourceAttribute(String sourceAttribute)
      TBC
      Returns:
      this.
    • destinationGuid

      public B destinationGuid(String destinationGuid)
      Unique identifier (GUID) of the asset this request was made against.
      Returns:
      this.
    • destinationQualifiedName

      public B destinationQualifiedName(String destinationQualifiedName)
      Unique name of the asset this request was made against.
      Returns:
      this.
    • destinationAttribute

      public B destinationAttribute(String destinationAttribute)
      Attribute the request was made against.
      Returns:
      this.
    • destinationValue

      public B destinationValue(String destinationValue)
      Requested value for the attribute.
      Returns:
      this.
    • destinationValueType

      public B destinationValueType(String destinationValueType)
      Type of the destination attribute value, for example `array`.
      Returns:
      this.
    • destinationValueArray

      public B destinationValueArray(Object destinationValueArray)
      Unused.
      Returns:
      this.
    • destinationValueObject

      public B destinationValueObject(Object destinationValueObject)
      Unused.
      Returns:
      this.
    • entityType

      public B entityType(String entityType)
      Type of asset the change was requested against.
      Returns:
      this.
    • requestType

      public B requestType(String requestType)
      Type of change the request is for.
      Returns:
      this.
    • confidenceScore

      public B confidenceScore(Object confidenceScore)
      Unused.
      Returns:
      this.
    • botRunId

      public B botRunId(Object botRunId)
      Unused.
      Returns:
      this.
    • approvedBy

      public B approvedBy(String approvedBy)
      User who approved the request.
      Returns:
      this.
    • rejectedBy

      public B rejectedBy(String rejectedBy)
      User who rejected the request.
      Returns:
      this.
    • status

      public B status(AtlanRequestStatus status)
      Status of the request.
      Returns:
      this.
    • message

      public B message(String message)
      Comment recorded with the approval or rejection of the request.
      Returns:
      this.
    • requestsBatch

      public B requestsBatch(Object requestsBatch)
      Unused.
      Returns:
      this.
    • approvalType

      public B approvalType(String approvalType)
      Type of approval required — currently only `single` is supported.
      Returns:
      this.
    • assignedApprovers

      public B assignedApprovers(Object assignedApprovers)
      Unused.
      Returns:
      this.
    • accessStartDate

      public B accessStartDate(Object accessStartDate)
      Unused.
      Returns:
      this.
    • accessEndDate

      public B accessEndDate(Object accessEndDate)
      Unused.
      Returns:
      this.
    • hash

      public B hash(Long hash)
      TBC
      Returns:
      this.
    • isDuplicate

      public B isDuplicate(Boolean isDuplicate)
      TBC
      Returns:
      this.
    • destinationValueAction

      public B destinationValueAction(String destinationValueAction)
      Semantic to use when applying the destination value, for example `append`.
      Returns:
      this.
    • requestApproverUser

      public B requestApproverUser(String requestApproverUser)
    • requestApproverUsers

      public B requestApproverUsers(Collection<? extends String> requestApproverUsers)
    • clearRequestApproverUsers

      public B clearRequestApproverUsers()
    • requestApproverGroup

      public B requestApproverGroup(String requestApproverGroup)
    • requestApproverGroups

      public B requestApproverGroups(Collection<? extends String> requestApproverGroups)
    • clearRequestApproverGroups

      public B clearRequestApproverGroups()
    • requestApproverRole

      public B requestApproverRole(String requestApproverRole)
    • requestApproverRoles

      public B requestApproverRoles(Collection<? extends String> requestApproverRoles)
    • clearRequestApproverRoles

      public B clearRequestApproverRoles()
    • requestDenyUser

      public B requestDenyUser(String requestDenyUser)
    • requestDenyUsers

      public B requestDenyUsers(Collection<? extends String> requestDenyUsers)
    • clearRequestDenyUsers

      public B clearRequestDenyUsers()
    • requestDenyGroup

      public B requestDenyGroup(String requestDenyGroup)
    • requestDenyGroups

      public B requestDenyGroups(Collection<? extends String> requestDenyGroups)
    • clearRequestDenyGroups

      public B clearRequestDenyGroups()
    • requestDenyRole

      public B requestDenyRole(String requestDenyRole)
    • requestDenyRoles

      public B requestDenyRoles(Collection<? extends String> requestDenyRoles)
    • clearRequestDenyRoles

      public B clearRequestDenyRoles()
    • sourceEntity

      public B sourceEntity(Object sourceEntity)
      TBC
      Returns:
      this.
    • destinationEntity

      public B destinationEntity(Asset destinationEntity)
      Limited details about the asset this request was made against.
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class AtlanObject.AtlanObjectBuilder<C extends AtlanRequest,B extends AtlanRequest.AtlanRequestBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class AtlanObject.AtlanObjectBuilder<C extends AtlanRequest,B extends AtlanRequest.AtlanRequestBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class AtlanObject.AtlanObjectBuilder<C extends AtlanRequest,B extends AtlanRequest.AtlanRequestBuilder<C,B>>