ComputerVision.ComputerVisionDescribeImageDefinitionStages.WithAllOptions Interface

public static interface ComputerVision.ComputerVisionDescribeImageDefinitionStages.WithAllOptions

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

Method Summary

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

Turn off specified domain models when generating the description.

abstract WithExecute withLanguage(String language)

The desired language for output generation.

abstract WithExecute withMaxCandidates(Integer maxCandidates)

Maximum number of candidate descriptions to be returned.

abstract WithExecute withModelVersion(String modelVersion)

Optional parameter to specify the version of the AI model.

Method Details

withDescriptionExclude

public abstract ComputerVision.ComputerVisionDescribeImageDefinitionStages.WithExecute withDescriptionExclude(List descriptionExclude)

Turn off specified domain models when generating the description.

Parameters:

descriptionExclude

Returns:

next definition stage

withLanguage

public abstract ComputerVision.ComputerVisionDescribeImageDefinitionStages.WithExecute withLanguage(String language)

The desired language for output generation. If this parameter is not specified, the default value is "en".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 abstract ComputerVision.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 abstract ComputerVision.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