Partilhar via


ComputerVision.ComputerVisionGenerateThumbnailDefinitionStages.WithAllOptions Interface

public static interface ComputerVision.ComputerVisionGenerateThumbnailDefinitionStages.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 withModelVersion(String modelVersion)

Optional parameter to specify the version of the AI model.

abstract WithExecute withSmartCropping(Boolean smartCropping)

Boolean flag for enabling smart cropping.

Method Details

withModelVersion

public abstract ComputerVision.ComputerVisionGenerateThumbnailDefinitionStages.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

withSmartCropping

public abstract ComputerVision.ComputerVisionGenerateThumbnailDefinitionStages.WithExecute withSmartCropping(Boolean smartCropping)

Boolean flag for enabling smart cropping.

Parameters:

smartCropping

Returns:

next definition stage

Applies to