com.aliyun.ens20171110.models.DeleteDeviceInternetPortRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DeleteDeviceInternetPortRequest extends TeaModel {
/**
* The ID of the instance. You can specify the ID of the server or container.
* This parameter is required.
*
* example:
* i-5scdmgpdegymqyugf85q66l1a
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The type of the NAT gateway. The value must be of the enumerated data type. Valid values:
*
* - SNAT
* - DNAT
*
* This parameter is required.
*
* example:
* DNAT
*/
@NameInMap("NatType")
public String natType;
/**
* The ID of the rule.
* This parameter is required.
*
* example:
* snat-5rfzxah5gzfo869fl6epvon3y
*/
@NameInMap("RuleId")
public String ruleId;
public static DeleteDeviceInternetPortRequest build(java.util.Map map) throws Exception {
DeleteDeviceInternetPortRequest self = new DeleteDeviceInternetPortRequest();
return TeaModel.build(map, self);
}
public DeleteDeviceInternetPortRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DeleteDeviceInternetPortRequest setNatType(String natType) {
this.natType = natType;
return this;
}
public String getNatType() {
return this.natType;
}
public DeleteDeviceInternetPortRequest setRuleId(String ruleId) {
this.ruleId = ruleId;
return this;
}
public String getRuleId() {
return this.ruleId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy