CopyAuthorizationOptions Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.documentanalysis.administration.models.CopyAuthorizationOptions

public final class CopyAuthorizationOptions

The configurable options to pass when copying models into the target Form Recognizer resource.

Constructor Summary

Constructor Description
CopyAuthorizationOptions()

Create a CopyAuthorizationOptions instance.

Method Summary

Modifier and Type Method and Description
String getDescription()

Get the model description.

String getModelId()

Get the unique model identifier for the model.

Map<String,String> getTags()

Get the user defined attributes associated with the model.

CopyAuthorizationOptions setDescription(String description)

Set the model description.

CopyAuthorizationOptions setModelId(String modelId)

Set the unique model identifier for the model.

CopyAuthorizationOptions setTags(Map<String,String> tags)

Set the user defined attributes associated with the model.

Methods inherited from java.lang.Object

Constructor Details

CopyAuthorizationOptions

public CopyAuthorizationOptions()

Create a CopyAuthorizationOptions instance.

Method Details

getDescription

public String getDescription()

Get the model description.

Returns:

the model description value.

getModelId

public String getModelId()

Get the unique model identifier for the model.

Returns:

the modelId

getTags

public Map getTags()

Get the user defined attributes associated with the model.

Returns:

the tags value.

setDescription

public CopyAuthorizationOptions setDescription(String description)

Set the model description.

Parameters:

description - the model description value to set.

Returns:

the CopyAuthorizationOptions object itself.

setModelId

public CopyAuthorizationOptions setModelId(String modelId)

Set the unique model identifier for the model. If not specified, a model ID will be created for you.

Parameters:

modelId - a unique model identifier

Returns:

the CopyAuthorizationOptions object itself.

setTags

public CopyAuthorizationOptions setTags(Map tags)

Set the user defined attributes associated with the model.

Parameters:

tags - the tags value to set.

Returns:

the CopyAuthorizationOptions object itself.

Applies to