OssStockTaskProps
Properties for defining a OssStockTask.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-ossstocktask
Initializer
import com.aliyun.ros.cdk.aligreen.OssStockTaskProps;
OssStockTaskProps.builder()
.buckets(java.util.List<java.lang.Object>)
.buckets(IResolvable)
.startDate(java.lang.String)
.startDate(IResolvable)
// .audioAntispamFreezeConfig(IResolvable)
// .audioAntispamFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .audioAutoFreezeOpened(java.lang.Boolean)
// .audioAutoFreezeOpened(IResolvable)
// .audioMaxSize(java.lang.Number)
// .audioMaxSize(IResolvable)
// .audioOpened(java.lang.Boolean)
// .audioOpened(IResolvable)
// .audioScanLimit(java.lang.Number)
// .audioScanLimit(IResolvable)
// .audioScenes(IResolvable)
// .audioScenes(java.util.List<java.lang.String)
// .audioScenes(IResolvable>)
// .autoFreezeType(java.lang.String)
// .autoFreezeType(IResolvable)
// .bizType(java.lang.String)
// .bizType(IResolvable)
// .callbackId(java.lang.Number)
// .callbackId(IResolvable)
// .endDate(java.lang.String)
// .endDate(IResolvable)
// .imageAdFreezeConfig(IResolvable)
// .imageAdFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .imageAutoFreezeOpened(java.lang.Boolean)
// .imageAutoFreezeOpened(IResolvable)
// .imageLiveFreezeConfig(IResolvable)
// .imageLiveFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .imageOpened(java.lang.Boolean)
// .imageOpened(IResolvable)
// .imagePornFreezeConfig(IResolvable)
// .imagePornFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .imageScanLimit(java.lang.Number)
// .imageScanLimit(IResolvable)
// .imageScenes(IResolvable)
// .imageScenes(java.util.List<java.lang.String)
// .imageScenes(IResolvable>)
// .imageTerrorismFreezeConfig(IResolvable)
// .imageTerrorismFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .ossStockTaskName(java.lang.String)
// .ossStockTaskName(IResolvable)
// .scanImageNoFileType(java.lang.Boolean)
// .scanImageNoFileType(IResolvable)
// .videoAdFreezeConfig(IResolvable)
// .videoAdFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .videoAutoFreezeOpened(java.lang.Boolean)
// .videoAutoFreezeOpened(IResolvable)
// .videoFrameInterval(java.lang.Number)
// .videoFrameInterval(IResolvable)
// .videoLiveFreezeConfig(IResolvable)
// .videoLiveFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .videoMaxFrames(java.lang.Number)
// .videoMaxFrames(IResolvable)
// .videoMaxSize(java.lang.Number)
// .videoMaxSize(IResolvable)
// .videoOpened(java.lang.Boolean)
// .videoOpened(IResolvable)
// .videoPornFreezeConfig(IResolvable)
// .videoPornFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .videoScanLimit(java.lang.Number)
// .videoScanLimit(IResolvable)
// .videoScenes(IResolvable)
// .videoScenes(java.util.List<java.lang.String)
// .videoScenes(IResolvable>)
// .videoTerrorismFreezeConfig(IResolvable)
// .videoTerrorismFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
// .videoVoiceAntispamFreezeConfig(IResolvable)
// .videoVoiceAntispamFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
buckets |
java.util.List |
Property buckets: The bucket configuration list of the oss stock scan task. |
startDate |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property startDate: The start time of the file upload time range represents the files uploaded after scanning this time point.Example: 2024-08-01 00:00:00 +0800. |
audioAntispamFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property audioAntispamFreezeConfig: Voice auto freeze configuration. |
audioAutoFreezeOpened |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property audioAutoFreezeOpened: Audio detection auto freeze switch. |
audioMaxSize |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property audioMaxSize: Resource property field representing the maximum size of a single audio. |
audioOpened |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property audioOpened: Oss stock scan task detect audio. |
audioScanLimit |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property audioScanLimit: The upper limit of voice scan in the oss stock scan task. |
audioScenes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property audioScenes: The audio detection scenarios included in the oss stock scan task. |
autoFreezeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property autoFreezeType: Automatic freeze type. |
bizType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property bizType: Business scenarios used by the oss stock scan task. |
callbackId |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task. |
endDate |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property endDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point. |
imageAdFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes. |
imageAutoFreezeOpened |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property imageAutoFreezeOpened: Picture detection auto freeze switch. |
imageLiveFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration. |
imageOpened |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property imageOpened: Oss stock scan task detect images. |
imagePornFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration. |
imageScanLimit |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property imageScanLimit: The upper limit for scanning images in the oss stock scan task. |
imageScenes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property imageScenes: The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection. |
imageTerrorismFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes. |
ossStockTaskName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ossStockTaskName: The name of the oss stock scan task. |
scanImageNoFileType |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes. |
videoAdFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios. |
videoAutoFreezeOpened |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property videoAutoFreezeOpened: Video detection auto freeze switch. |
videoFrameInterval |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property videoFrameInterval: Resource attribute field representing the framing frequency. |
videoLiveFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property videoLiveFreezeConfig: Video automatic freeze live scene configuration. |
videoMaxFrames |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut. |
videoMaxSize |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property videoMaxSize: Resource property field representing the maximum size of a single video. |
videoOpened |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property videoOpened: Oss stock scan task detect video. |
videoPornFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property videoPornFreezeConfig: Video automatic freezing porn scene configuration. |
videoScanLimit |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property videoScanLimit: The upper limit of video scanning in the oss stock scan task. |
videoScenes |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property videoScenes: The video detection scenarios included in the oss stock scan task. |
videoTerrorismFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes. |
videoVoiceAntispamFreezeConfig |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video. |
bucketsRequired
public java.lang.Object getBuckets();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property buckets: The bucket configuration list of the oss stock scan task.
Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img/test_"],"Type":"exclude"}].
startDateRequired
public java.lang.Object getStartDate();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property startDate: The start time of the file upload time range represents the files uploaded after scanning this time point.Example: 2024-08-01 00:00:00 +0800.
audioAntispamFreezeConfigOptional
public java.lang.Object getAudioAntispamFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property audioAntispamFreezeConfig: Voice auto freeze configuration.
Example:{"Type": "suggestion", "Value" : "block" }. The results are frozen according to the suggestion in the speech detection results.
audioAutoFreezeOpenedOptional
public java.lang.Object getAudioAutoFreezeOpened();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property audioAutoFreezeOpened: Audio detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
audioMaxSizeOptional
public java.lang.Object getAudioMaxSize();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property audioMaxSize: Resource property field representing the maximum size of a single audio.
1~2048MB, the default is 200MB, more than not detected.
audioOpenedOptional
public java.lang.Object getAudioOpened();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property audioOpened: Oss stock scan task detect audio.
true: scan audio, false: do not scan audio.
audioScanLimitOptional
public java.lang.Object getAudioScanLimit();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.
The default value is 1000/Bucket.
audioScenesOptional
public java.lang.Object getAudioScenes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property audioScenes: The audio detection scenarios included in the oss stock scan task.
Set the value to ["antispam"].
autoFreezeTypeOptional
public java.lang.Object getAutoFreezeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property autoFreezeType: Automatic freeze type.
Value: acl: modify permissions, copy: Move files.
bizTypeOptional
public java.lang.Object getBizType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property bizType: Business scenarios used by the oss stock scan task.
callbackIdOptional
public java.lang.Object getCallbackId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
endDateOptional
public java.lang.Object getEndDate();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property endDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.
Example: 2024-12-30 00:00:00 +0800
imageAdFreezeConfigOptional
public java.lang.Object getImageAdFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
imageAutoFreezeOpenedOptional
public java.lang.Object getImageAutoFreezeOpened();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property imageAutoFreezeOpened: Picture detection auto freeze switch.
Value: true: auto freeze, false: not auto freeze.
imageLiveFreezeConfigOptional
public java.lang.Object getImageLiveFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration.
Example:{"Type":"suggestion","Value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.
imageOpenedOptional
public java.lang.Object getImageOpened();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property imageOpened: Oss stock scan task detect images.
true: scan images, false: do not scan images.
imagePornFreezeConfigOptional
public java.lang.Object getImagePornFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
imageScanLimitOptional
public java.lang.Object getImageScanLimit();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property imageScanLimit: The upper limit for scanning images in the oss stock scan task.
The default value is 10000 images per Bucket.
imageScenesOptional
public java.lang.Object getImageScenes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property imageScenes: The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection.
imageTerrorismFreezeConfigOptional
public java.lang.Object getImageTerrorismFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.
ossStockTaskNameOptional
public java.lang.Object getOssStockTaskName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ossStockTaskName: The name of the oss stock scan task.
scanImageNoFileTypeOptional
public java.lang.Object getScanImageNoFileType();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes.
videoAdFreezeConfigOptional
public java.lang.Object getVideoAdFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
Example:{"Type":"suggestion","Value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
videoAutoFreezeOpenedOptional
public java.lang.Object getVideoAutoFreezeOpened();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property videoAutoFreezeOpened: Video detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
videoFrameIntervalOptional
public java.lang.Object getVideoFrameInterval();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property videoFrameInterval: Resource attribute field representing the framing frequency.
1~60 seconds/frame, the default is 1 second/frame.
videoLiveFreezeConfigOptional
public java.lang.Object getVideoLiveFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property videoLiveFreezeConfig: Video automatic freeze live scene configuration.
Example:{"Type" : "suggestion", "Value" : "block" }. The results will be frozen according to the suggestion in the video detection results.
videoMaxFramesOptional
public java.lang.Object getVideoMaxFrames();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
5 to 20000 frames, the default is 200 frames.
videoMaxSizeOptional
public java.lang.Object getVideoMaxSize();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property videoMaxSize: Resource property field representing the maximum size of a single video.
1~2048MB, the default is 500MB, more than not detected.
videoOpenedOptional
public java.lang.Object getVideoOpened();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property videoOpened: Oss stock scan task detect video.
true: scan video, false: do not scan video.
videoPornFreezeConfigOptional
public java.lang.Object getVideoPornFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property videoPornFreezeConfig: Video automatic freezing porn scene configuration.
Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.
videoScanLimitOptional
public java.lang.Object getVideoScanLimit();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.
The default value is 1000/Bucket.
videoScenesOptional
public java.lang.Object getVideoScenes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property videoScenes: The video detection scenarios included in the oss stock scan task.
porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam.
videoTerrorismFreezeConfigOptional
public java.lang.Object getVideoTerrorismFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
Example:{"Type": "suggestion","Value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.
videoVoiceAntispamFreezeConfigOptional
public java.lang.Object getVideoVoiceAntispamFreezeConfig();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.
Example:{"Type": "suggestion", "Value" : "block" }. The results will be frozen according to the suggestion in the video detection results.