ImageModerations.ImageModerationsOCRFileInputDefinitionStages.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
ImageModerationsOCRFileInputDefinitionStages.WithExecute withCacheImage(Boolean cacheImage)

Whether to retain the submitted image for future use; defaults to false if omitted.

ImageModerationsOCRFileInputDefinitionStages.WithExecute withEnhanced(Boolean enhanced)

When set to True, the image goes through additional processing to come with additional candidates. image/tiff is not supported when enhanced is set to true Note: This impacts the response time.

Method Details

withCacheImage

public ImageModerationsOCRFileInputDefinitionStages.WithExecute withCacheImage(Boolean cacheImage)

Whether to retain the submitted image for future use; defaults to false if omitted.

Parameters:

cacheImage

Returns:

next definition stage

withEnhanced

public ImageModerationsOCRFileInputDefinitionStages.WithExecute withEnhanced(Boolean enhanced)

When set to True, the image goes through additional processing to come with additional candidates. image/tiff is not supported when enhanced is set to true Note: This impacts the response time.

Parameters:

enhanced

Returns:

next definition stage

Applies to