public static final class DescribeVulWhitelistResponseBody.VulWhitelists.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
aliasName(String aliasName)
The alias of the vulnerability.
|
DescribeVulWhitelistResponseBody.VulWhitelists |
build() |
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
id(String id)
The ID of the rule.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
name(String name)
The name of the vulnerability.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
reason(String reason)
The reason why the vulnerability is added to the whitelist.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
targetInfo(String targetInfo)
The application scope of the rule.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
type(String type)
The type of the vulnerability.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
whitelist(String whitelist)
The information about the vulnerability.
|
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder aliasName(String aliasName)
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder id(String id)
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder name(String name)
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder reason(String reason)
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder targetInfo(String targetInfo)
* **type**: the type of the assets to which the rule is applied. Valid values: * **Uuid**: server * **GroupId**: server group * **groupIds**: the ID of the server group * **uuids**: the UUID of the server > If this field is empty, the rule is applied to all assets.
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder type(String type)
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder whitelist(String whitelist)
* **name**: the name of the vulnerability * **type**: the type of the vulnerability. * **aliasName**: the alias of the vulnerability
public DescribeVulWhitelistResponseBody.VulWhitelists build()
Copyright © 2023. All rights reserved.