public static final class GetOssScanConfigResponseBody.Data.Builder extends Object
public GetOssScanConfigResponseBody.Data.Builder allKeyPrefix(Boolean allKeyPrefix)
Indicates whether the prefixes of all objects are matched.
example:true
public GetOssScanConfigResponseBody.Data.Builder bucketCount(Integer bucketCount)
The number of buckets.
example:1
public GetOssScanConfigResponseBody.Data.Builder bucketName(String bucketName)
The name of the bucket.
example:hz-new01****
public GetOssScanConfigResponseBody.Data.Builder bucketNameList(List<String> bucketNameList)
The names of the buckets.
public GetOssScanConfigResponseBody.Data.Builder decompressMaxFileCount(Integer decompressMaxFileCount)
The maximum number of objects that can be extracted during decompression. Valid values: 1 to 1000. If the maximum number of objects that can be extracted is reached, the decompression operation immediately ends and the detection of extracted objects is not affected.
example:100
public GetOssScanConfigResponseBody.Data.Builder decompressMaxLayer(Integer decompressMaxLayer)
The maximum number of decompression levels when multi-level packages are decompressed. Valid values: 1 to 5. If the maximum number of decompression levels is reached, the decompression operation immediately ends and the detection of extracted objects is not affected.
example:1
public GetOssScanConfigResponseBody.Data.Builder decryptionList(List<String> decryptionList)
The decryption methods.
public GetOssScanConfigResponseBody.Data.Builder enable(Integer enable)
Indicates whether the check policy is enabled. Valid values:
1
public GetOssScanConfigResponseBody.Data.Builder endTime(String endTime)
The end time of the check. The time is in the HH:mm:ss format.
example:00:00:00
public GetOssScanConfigResponseBody.Data.Builder id(String id)
The policy ID.
example:1274****
public GetOssScanConfigResponseBody.Data.Builder keyPrefixList(List<String> keyPrefixList)
The prefixes of the objects.
public GetOssScanConfigResponseBody.Data.Builder keySuffixList(List<String> keySuffixList)
The suffixes of the objects that are checked.
public GetOssScanConfigResponseBody.Data.Builder lastModifiedStartTime(Long lastModifiedStartTime)
The timestamp when the object was last modified. The time must be later than the timestamp that you specify. Unit: milliseconds.
example:1724301769834
public GetOssScanConfigResponseBody.Data.Builder lastUpdateTime(Long lastUpdateTime)
The timestamp when the configuration was last modified.
example:1702025633079
public GetOssScanConfigResponseBody.Data.Builder name(String name)
The policy name.
example:test0104
public GetOssScanConfigResponseBody.Data.Builder realTimeIncr(Boolean realTimeIncr)
Whether to enable real-time incremental detection. When this parameter is set to true, the parameters ScanDayList, StartTime, and EndTime are not effective.
example:true
public GetOssScanConfigResponseBody.Data.Builder scanDayList(List<Integer> scanDayList)
The days when the check is performed. The value indicates the days of the week.
public GetOssScanConfigResponseBody.Data.Builder startTime(String startTime)
The start time of the check. The time is in the HH:mm:ss format.
example:00:00:00
public GetOssScanConfigResponseBody.Data build()
Copyright © 2026. All rights reserved.