public static final class DisableNatGatewayEcsMetricRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DisableNatGatewayEcsMetricRequest |
build() |
DisableNatGatewayEcsMetricRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to perform only a dry run, without performing the actual request.
|
DisableNatGatewayEcsMetricRequest.Builder |
natGatewayId(String natGatewayId)
The ID of the NAT gateway for which you want to disable ECS traffic monitoring.
|
DisableNatGatewayEcsMetricRequest.Builder |
regionId(String regionId)
The region ID of the NAT gateway.
|
public DisableNatGatewayEcsMetricRequest.Builder dryRun(Boolean dryRun)
**true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
public DisableNatGatewayEcsMetricRequest.Builder natGatewayId(String natGatewayId)
public DisableNatGatewayEcsMetricRequest.Builder regionId(String regionId)
public DisableNatGatewayEcsMetricRequest build()
Copyright © 2024. All rights reserved.