public static final class CreateOssScanConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOssScanConfigRequest.Builder |
allKeyPrefix(Boolean allKeyPrefix)
Specifies whether to match the prefixes of all objects.
|
CreateOssScanConfigRequest.Builder |
bucketNameList(List<String> bucketNameList)
The names of buckets.
|
CreateOssScanConfigRequest |
build() |
CreateOssScanConfigRequest.Builder |
decompressMaxFileCount(Integer decompressMaxFileCount)
The maximum number of objects that can be extracted during decompression.
|
CreateOssScanConfigRequest.Builder |
decompressMaxLayer(Integer decompressMaxLayer)
The maximum number of decompression levels when multi-level packages are decompressed.
|
CreateOssScanConfigRequest.Builder |
decryptionList(List<String> decryptionList)
The decryption methods.
|
CreateOssScanConfigRequest.Builder |
enable(Integer enable)
Specifies whether to enable the policy.
|
CreateOssScanConfigRequest.Builder |
endTime(String endTime)
The time when the scan ends.
|
CreateOssScanConfigRequest.Builder |
keyPrefixList(List<String> keyPrefixList)
The prefixes of the objects.
|
CreateOssScanConfigRequest.Builder |
keySuffixList(List<String> keySuffixList)
The suffixes of the files to scan.
|
CreateOssScanConfigRequest.Builder |
lastModifiedStartTime(Long lastModifiedStartTime)
The timestamp when the object was last modified.
|
CreateOssScanConfigRequest.Builder |
name(String name)
The policy name.
|
CreateOssScanConfigRequest.Builder |
realTimeIncr(Boolean realTimeIncr)
Whether to enable real-time incremental detection.
|
CreateOssScanConfigRequest.Builder |
scanDayList(List<Integer> scanDayList)
The days on which the scan is executed in a week.
|
CreateOssScanConfigRequest.Builder |
startTime(String startTime)
The time when the scan starts.
|
public CreateOssScanConfigRequest.Builder allKeyPrefix(Boolean allKeyPrefix)
Specifies whether to match the prefixes of all objects.
example:true
public CreateOssScanConfigRequest.Builder bucketNameList(List<String> bucketNameList)
The names of buckets.
public CreateOssScanConfigRequest.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 CreateOssScanConfigRequest.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 CreateOssScanConfigRequest.Builder decryptionList(List<String> decryptionList)
The decryption methods.
public CreateOssScanConfigRequest.Builder enable(Integer enable)
Specifies whether to enable the policy. Valid values:
1
public CreateOssScanConfigRequest.Builder endTime(String endTime)
The time when the scan ends. The time must be in the HH:mm:ss format.
example:01:01:00
public CreateOssScanConfigRequest.Builder keyPrefixList(List<String> keyPrefixList)
The prefixes of the objects.
public CreateOssScanConfigRequest.Builder keySuffixList(List<String> keySuffixList)
The suffixes of the files to scan.
public CreateOssScanConfigRequest.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 CreateOssScanConfigRequest.Builder name(String name)
The policy name.
example:runtime
public CreateOssScanConfigRequest.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 CreateOssScanConfigRequest.Builder scanDayList(List<Integer> scanDayList)
The days on which the scan is executed in a week.
public CreateOssScanConfigRequest.Builder startTime(String startTime)
The time when the scan starts. The time must be in the HH:mm:ss format.
example:00:00:00
public CreateOssScanConfigRequest build()
Copyright © 2026. All rights reserved.