All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ens20171110.models.DescribeNatGatewaysResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;

import com.aliyun.tea.*;

public class DescribeNatGatewaysResponseBody extends TeaModel {
    /**
     * 

Details about the NAT gateways.

*/ @NameInMap("NatGateways") public java.util.List natGateways; /** *

The page number.

* * example: *

1

*/ @NameInMap("PageNumber") public Integer pageNumber; /** *

The number of entries per page.

* * example: *

10

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The ID of the request.

* * example: *

2818A8F4-5E2B-5611-8732-5ACF7B677059

*/ @NameInMap("RequestId") public String requestId; /** *

The number of NAT gateways that are returned.

* * example: *

49

*/ @NameInMap("TotalCount") public Integer totalCount; public static DescribeNatGatewaysResponseBody build(java.util.Map map) throws Exception { DescribeNatGatewaysResponseBody self = new DescribeNatGatewaysResponseBody(); return TeaModel.build(map, self); } public DescribeNatGatewaysResponseBody setNatGateways(java.util.List natGateways) { this.natGateways = natGateways; return this; } public java.util.List getNatGateways() { return this.natGateways; } public DescribeNatGatewaysResponseBody setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } public Integer getPageNumber() { return this.pageNumber; } public DescribeNatGatewaysResponseBody setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public DescribeNatGatewaysResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeNatGatewaysResponseBody setTotalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Integer getTotalCount() { return this.totalCount; } public static class DescribeNatGatewaysResponseBodyNatGateways extends TeaModel { /** *

The time when the NAT gateway was created. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

* * example: *

2021-11-22T07:03:32Z

*/ @NameInMap("CreationTime") public String creationTime; /** *

The ID of the ENS node.

* * example: *

cn-xiangyang-5

*/ @NameInMap("EnsRegionId") public String ensRegionId; /** *

The name of the NAT gateway.

* * example: *

test0

*/ @NameInMap("Name") public String name; /** *

The ID of the NAT gateway.

* * example: *

nat-5t7nh1cfm6kxiszlttr38****

*/ @NameInMap("NatGatewayId") public String natGatewayId; /** *

The ID of the network.

* * example: *

n-5s2ml1olj0kzaws9n1yrj****

*/ @NameInMap("NetworkId") public String networkId; /** *

The type of the NAT gateway.

* * example: *

enat.default

*/ @NameInMap("Spec") public String spec; /** *

The ID of the vSwitch.

* * example: *

vsw-5szpp1os9m55myirbflfw****

*/ @NameInMap("VSwitchId") public String vSwitchId; public static DescribeNatGatewaysResponseBodyNatGateways build(java.util.Map map) throws Exception { DescribeNatGatewaysResponseBodyNatGateways self = new DescribeNatGatewaysResponseBodyNatGateways(); return TeaModel.build(map, self); } public DescribeNatGatewaysResponseBodyNatGateways setCreationTime(String creationTime) { this.creationTime = creationTime; return this; } public String getCreationTime() { return this.creationTime; } public DescribeNatGatewaysResponseBodyNatGateways setEnsRegionId(String ensRegionId) { this.ensRegionId = ensRegionId; return this; } public String getEnsRegionId() { return this.ensRegionId; } public DescribeNatGatewaysResponseBodyNatGateways setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public DescribeNatGatewaysResponseBodyNatGateways setNatGatewayId(String natGatewayId) { this.natGatewayId = natGatewayId; return this; } public String getNatGatewayId() { return this.natGatewayId; } public DescribeNatGatewaysResponseBodyNatGateways setNetworkId(String networkId) { this.networkId = networkId; return this; } public String getNetworkId() { return this.networkId; } public DescribeNatGatewaysResponseBodyNatGateways setSpec(String spec) { this.spec = spec; return this; } public String getSpec() { return this.spec; } public DescribeNatGatewaysResponseBodyNatGateways setVSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } public String getVSwitchId() { return this.vSwitchId; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy