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 Summary
Constructors Constructor Description CopyAuthorization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessToken()
Get the accessToken property: Token used to authorize the request.OffsetDateTime
getExpiresOn()
Get the expirationDateTime property: Date/time when the access token expires.String
getTargetModelId()
Get the targetModelId property: Identifier of the target model.String
getTargetModelLocation()
Get the targetModelLocation property: URL of the copied model in the target account.String
getTargetResourceId()
Get the identifier of the target Azure resource where the model should be copied to.String
getTargetResourceRegion()
Get the targetResourceRegion property: Location of the target Azure resource where the model should be copied to.
-
-
-
Method Detail
-
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.
-
-