Class CopyAuthorization

java.lang.Object
com.azure.ai.formrecognizer.administration.models.CopyAuthorization

public final class CopyAuthorization extends Object
Authorization to copy a model to the specified target resource and modelId.
  • Constructor Details

    • CopyAuthorization

      public CopyAuthorization()
  • Method Details

    • getTargetResourceId

      public String getTargetResourceId()
      Get the identifier of the target Azure resource where the model should be copied to.
      Returns:
      the targetResourceId value.
    • getTargetResourceRegion

      public String getTargetResourceRegion()
      Get the targetResourceRegion property: Location of the target Azure resource where the model should be copied to.
      Returns:
      the targetResourceRegion value.
    • getTargetModelId

      public String getTargetModelId()
      Get the targetModelId property: Identifier of the target model.
      Returns:
      the targetModelId value.
    • getTargetModelLocation

      public String getTargetModelLocation()
      Get the targetModelLocation property: URL of the copied model in the target account.
      Returns:
      the targetModelLocation value.
    • getAccessToken

      public String getAccessToken()
      Get the accessToken property: Token used to authorize the request.
      Returns:
      the accessToken value.
    • getExpiresOn

      public OffsetDateTime getExpiresOn()
      Get the expirationDateTime property: Date/time when the access token expires.
      Returns:
      the expirationDateTime value.