public static final class EnableNatGatewayEcsMetricRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
EnableNatGatewayEcsMetricRequest |
build() |
EnableNatGatewayEcsMetricRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to perform only a dry run, without performing the actual request.
|
EnableNatGatewayEcsMetricRequest.Builder |
natGatewayId(String natGatewayId)
The ID of the NAT gateway for which you want to enable ECS traffic monitoring.
|
EnableNatGatewayEcsMetricRequest.Builder |
regionId(String regionId)
The region ID of the NAT gateway.
|
public EnableNatGatewayEcsMetricRequest.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 EnableNatGatewayEcsMetricRequest.Builder natGatewayId(String natGatewayId)
public EnableNatGatewayEcsMetricRequest.Builder regionId(String regionId)
public EnableNatGatewayEcsMetricRequest build()
Copyright © 2024. All rights reserved.