DocumentModelCopyAuthorization Class
- java.
lang. Object - com.
azure. ai. formrecognizer. documentanalysis. administration. models. DocumentModelCopyAuthorization
- com.
public final class DocumentModelCopyAuthorization
Authorization to copy a document model to the specified target resource and modelId.
Constructor | Description |
---|---|
Document |
Creates an instance of a DocumentModelCopyAuthorization model. |
Modifier and Type | Method and Description |
---|---|
String |
get Get the token used to authorize the request. |
Offset |
get Get the Date/time when the access token expires. |
String |
get Get the identifier of the target document model. |
String |
get Get the URL of the copied document model in the target account. |
String |
get Get the identifier of the target Azure resource where the document model should be copied to. |
String |
get Get the location of the target Azure resource where the document model should be copied to. |
Methods inherited from java.lang.Object
DocumentModelCopyAuthorization
public DocumentModelCopyAuthorization(String targetResourceId, String targetResourceRegion, String targetModelId, String targetModelLocation, String accessToken, OffsetDateTime expiresOn)
Creates an instance of a DocumentModelCopyAuthorization model.
Parameters:
getAccessToken
public String getAccessToken()
Get the token used to authorize the request.
Returns:
getExpiresOn
public OffsetDateTime getExpiresOn()
Get the Date/time when the access token expires.
Returns:
getTargetModelId
public String getTargetModelId()
Get the identifier of the target document model.
Returns:
getTargetModelLocation
public String getTargetModelLocation()
Get the URL of the copied document model in the target account.
Returns:
getTargetResourceId
public String getTargetResourceId()
Get the identifier of the target Azure resource where the document model should be copied to.
Returns:
getTargetResourceRegion
public String getTargetResourceRegion()
Get the location of the target Azure resource where the document model should be copied to.
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: