public static final class CreateOssBucketScanTaskRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOssBucketScanTaskRequest.Builder |
allKeyPrefix(Boolean allKeyPrefix)
Specifies whether to match the prefixes of all objects.
|
CreateOssBucketScanTaskRequest.Builder |
bucketNameList(List<String> bucketNameList)
The names of the buckets.
|
CreateOssBucketScanTaskRequest |
build() |
CreateOssBucketScanTaskRequest.Builder |
decompressMaxFileCount(Integer decompressMaxFileCount)
The maximum number of objects that can be extracted during decompression.
|
CreateOssBucketScanTaskRequest.Builder |
decompressMaxLayer(Integer decompressMaxLayer)
The maximum number of decompression levels when multi-level packages are decompressed.
|
CreateOssBucketScanTaskRequest.Builder |
decryptionList(List<String> decryptionList)
The decryption methods.
|
CreateOssBucketScanTaskRequest.Builder |
excludeKeySuffixList(List<String> excludeKeySuffixList)
The suffixes of the objects that you do not want to check.
|
CreateOssBucketScanTaskRequest.Builder |
keyPrefixList(List<String> keyPrefixList)
The prefixes of the objects.
|
CreateOssBucketScanTaskRequest.Builder |
keySuffixList(List<String> keySuffixList)
The suffixes of the objects that you want to check.
|
CreateOssBucketScanTaskRequest.Builder |
lastModifiedStartTime(Long lastModifiedStartTime)
The timestamp when the object was last modified.
|
CreateOssBucketScanTaskRequest.Builder |
scanMode(Integer scanMode)
The check mode.
|
public CreateOssBucketScanTaskRequest.Builder allKeyPrefix(Boolean allKeyPrefix)
Specifies whether to match the prefixes of all objects.
example:true
public CreateOssBucketScanTaskRequest.Builder bucketNameList(List<String> bucketNameList)
The names of the buckets.
This parameter is required.
public CreateOssBucketScanTaskRequest.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 CreateOssBucketScanTaskRequest.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 CreateOssBucketScanTaskRequest.Builder decryptionList(List<String> decryptionList)
The decryption methods.
public CreateOssBucketScanTaskRequest.Builder excludeKeySuffixList(List<String> excludeKeySuffixList)
The suffixes of the objects that you do not want to check.
public CreateOssBucketScanTaskRequest.Builder keyPrefixList(List<String> keyPrefixList)
The prefixes of the objects.
public CreateOssBucketScanTaskRequest.Builder keySuffixList(List<String> keySuffixList)
The suffixes of the objects that you want to check.
public CreateOssBucketScanTaskRequest.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 CreateOssBucketScanTaskRequest.Builder scanMode(Integer scanMode)
The check mode. Valid values:
This parameter is required.
example:1
public CreateOssBucketScanTaskRequest build()
Copyright © 2026. All rights reserved.