ImageModerations.ImageModerationsOCRUrlInputDefinitionStages.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 |
---|---|
ImageModerationsOCRUrlInputDefinitionStages.WithExecute |
withCacheImage(Boolean cacheImage)
Whether to retain the submitted image for future use; defaults to false if omitted. |
ImageModerationsOCRUrlInputDefinitionStages.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 ImageModerationsOCRUrlInputDefinitionStages.WithExecute withCacheImage(Boolean cacheImage)
Whether to retain the submitted image for future use; defaults to false if omitted.
Parameters:
Returns:
withEnhanced
public ImageModerationsOCRUrlInputDefinitionStages.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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for