ComputerVision.ComputerVisionDescribeImageInStreamDefinitionStages.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
ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withDescriptionExclude(List<DescriptionExclude> descriptionExclude)

Turn off specified domain models when generating the description.

ComputerVisionDescribeImageInStreamDefinitionStages.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'.

ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withMaxCandidates(Integer maxCandidates)

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

ComputerVisionDescribeImageInStreamDefinitionStages.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 ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withDescriptionExclude(List descriptionExclude)

Turn off specified domain models when generating the description.

Parameters:

descriptionExclude

Returns:

next definition stage

withLanguage

public ComputerVisionDescribeImageInStreamDefinitionStages.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 ComputerVisionDescribeImageInStreamDefinitionStages.WithExecute withMaxCandidates(Integer maxCandidates)

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

Parameters:

maxCandidates

Returns:

next definition stage

withModelVersion

public ComputerVisionDescribeImageInStreamDefinitionStages.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