public static final class ModifyResourceLogStatusRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyResourceLogStatusRequest |
build() |
ModifyResourceLogStatusRequest.Builder |
instanceId(String instanceId)
The ID of the Web Application Firewall (WAF) instance.
|
ModifyResourceLogStatusRequest.Builder |
regionId(String regionId)
The region where the WAF instance resides.
|
ModifyResourceLogStatusRequest.Builder |
resource(String resource)
The protected object on which you want to manage the log collection feature.
|
ModifyResourceLogStatusRequest.Builder |
resourceManagerResourceGroupId(String resourceManagerResourceGroupId)
The ID of the resource group.
|
ModifyResourceLogStatusRequest.Builder |
status(Boolean status)
Specifies whether to enable the log collection feature for the protected object.
|
public ModifyResourceLogStatusRequest.Builder instanceId(String instanceId)
> You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
public ModifyResourceLogStatusRequest.Builder regionId(String regionId)
* **cn-hangzhou:** the Chinese mainland. * **ap-southeast-1:** outside the Chinese mainland.
public ModifyResourceLogStatusRequest.Builder resource(String resource)
public ModifyResourceLogStatusRequest.Builder resourceManagerResourceGroupId(String resourceManagerResourceGroupId)
public ModifyResourceLogStatusRequest.Builder status(Boolean status)
* **true:** enables the log collection feature. * **false:** disables the log collection feature.
public ModifyResourceLogStatusRequest build()
Copyright © 2024. All rights reserved.