public class DisableNatGatewayEcsMetricRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
natGatewayId
The ID of the NAT gateway for which you want to disable ECS traffic monitoring.
|
String |
regionId
The region ID of the NAT gateway.
|
构造器和说明 |
---|
DisableNatGatewayEcsMetricRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DisableNatGatewayEcsMetricRequest |
build(Map<String,?> map) |
Boolean |
getDryRun() |
String |
getNatGatewayId() |
String |
getRegionId() |
DisableNatGatewayEcsMetricRequest |
setDryRun(Boolean dryRun) |
DisableNatGatewayEcsMetricRequest |
setNatGatewayId(String natGatewayId) |
DisableNatGatewayEcsMetricRequest |
setRegionId(String regionId) |
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
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.
example:false
@NameInMap(value="NatGatewayId") public String natGatewayId
The ID of the NAT gateway for which you want to disable ECS traffic monitoring.
This parameter is required.
example:ngw-2vc53wynunp35lw1y****
@NameInMap(value="RegionId") public String regionId
The region ID of the NAT gateway. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-chengdu
public static DisableNatGatewayEcsMetricRequest build(Map<String,?> map) throws Exception
Exception
public DisableNatGatewayEcsMetricRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public DisableNatGatewayEcsMetricRequest setNatGatewayId(String natGatewayId)
public String getNatGatewayId()
public DisableNatGatewayEcsMetricRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.