ComputerVision.ComputerVisionDescribeImageDefinitionStages.WithAllOptions Interface

public interface WithAllOptions

The stage of the definition which allows for any other optional settings to be specified.

Method Summary

Modifier and Type Method and Description
ComputerVisionDescribeImageDefinitionStages.WithExecute withDescriptionExclude(List<DescriptionExclude> descriptionExclude)

Turn off specified domain models when generating the description.

ComputerVisionDescribeImageDefinitionStages.WithExecute withLanguage(String language)

The desired language for output generation. If this parameter is not specified, the default value is &quot;en&quot;.Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', 'ja', 'pt', 'zh'.

ComputerVisionDescribeImageDefinitionStages.WithExecute withMaxCandidates(Integer maxCandidates)

Maximum number of candidate descriptions to be returned. The default is 1.

ComputerVisionDescribeImageDefinitionStages.WithExecute withModelVersion(String modelVersion)

Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest".

Method Details

withDescriptionExclude

public ComputerVisionDescribeImageDefinitionStages.WithExecute withDescriptionExclude(List descriptionExclude)

Turn off specified domain models when generating the description.

Parameters:

descriptionExclude

Returns:

next definition stage

withLanguage

public ComputerVisionDescribeImageDefinitionStages.WithExecute withLanguage(String language)

The desired language for output generation. If this parameter is not specified, the default value is &quot;en&quot;.Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es', 'ja', 'pt', 'zh'.

Parameters:

language

Returns:

next definition stage

withMaxCandidates

public ComputerVisionDescribeImageDefinitionStages.WithExecute withMaxCandidates(Integer maxCandidates)

Maximum number of candidate descriptions to be returned. The default is 1.

Parameters:

maxCandidates

Returns:

next definition stage

withModelVersion

public ComputerVisionDescribeImageDefinitionStages.WithExecute withModelVersion(String modelVersion)

Optional parameter to specify the version of the AI model. Accepted values are: "latest", "2021-04-01". Defaults to "latest".

Parameters:

modelVersion

Returns:

next definition stage

Applies to