com.aliyun.vpc20160428.models.GetNatGatewayAttributeRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vpc20160428 Show documentation
Show all versions of vpc20160428 Show documentation
Alibaba Cloud Virtual Private Cloud (20160428) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.vpc20160428.models;
import com.aliyun.tea.*;
public class GetNatGatewayAttributeRequest extends TeaModel {
/**
* The ID of the NAT gateway.
*/
@NameInMap("NatGatewayId")
public String natGatewayId;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The ID of the region where the NAT gateway is deployed.
*
* You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
*/
@NameInMap("RegionId")
public String regionId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static GetNatGatewayAttributeRequest build(java.util.Map map) throws Exception {
GetNatGatewayAttributeRequest self = new GetNatGatewayAttributeRequest();
return TeaModel.build(map, self);
}
public GetNatGatewayAttributeRequest setNatGatewayId(String natGatewayId) {
this.natGatewayId = natGatewayId;
return this;
}
public String getNatGatewayId() {
return this.natGatewayId;
}
public GetNatGatewayAttributeRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public GetNatGatewayAttributeRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public GetNatGatewayAttributeRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetNatGatewayAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public GetNatGatewayAttributeRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}