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

com.tencentcloudapi.as.v20180419.models.IPv6InternetAccessible Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.as.v20180419.models;

import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class IPv6InternetAccessible extends AbstractModel {

    /**
    * Network billing mode. Valid values: TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_PACKAGE. Default value: TRAFFIC_POSTPAID_BY_HOUR. For the current account type, see [Account Type Description](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1#judge).

  • IPv6 supports `TRAFFIC_POSTPAID_BY_HOUR` under a bill-by-IP account.
  • IPv6 supports `BANDWIDTH_PACKAGE` under a bill-by-CVM account. Note: This field may return `null`, indicating that no valid values can be obtained. */ @SerializedName("InternetChargeType") @Expose private String InternetChargeType; /** * Outbound bandwidth cap of the public network (in Mbps).
    It defaults to `0`, which indicates no public network bandwidth is allocated to IPv6. The value range of bandwidth caps varies with the model, availability zone and billing mode. For more information, see [Public Network Bandwidth Cap](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1). Note: This field may return `null`, indicating that no valid values can be obtained. */ @SerializedName("InternetMaxBandwidthOut") @Expose private Long InternetMaxBandwidthOut; /** * Bandwidth package ID. You can obtain the ID from the `BandwidthPackageId` field in the response of the [DescribeBandwidthPackages](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) API. Note: This field may return `null`, indicating that no valid values can be obtained. */ @SerializedName("BandwidthPackageId") @Expose private String BandwidthPackageId; /** * Get Network billing mode. Valid values: TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_PACKAGE. Default value: TRAFFIC_POSTPAID_BY_HOUR. For the current account type, see [Account Type Description](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1#judge).
  • IPv6 supports `TRAFFIC_POSTPAID_BY_HOUR` under a bill-by-IP account.
  • IPv6 supports `BANDWIDTH_PACKAGE` under a bill-by-CVM account. Note: This field may return `null`, indicating that no valid values can be obtained. * @return InternetChargeType Network billing mode. Valid values: TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_PACKAGE. Default value: TRAFFIC_POSTPAID_BY_HOUR. For the current account type, see [Account Type Description](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1#judge).
  • IPv6 supports `TRAFFIC_POSTPAID_BY_HOUR` under a bill-by-IP account.
  • IPv6 supports `BANDWIDTH_PACKAGE` under a bill-by-CVM account. Note: This field may return `null`, indicating that no valid values can be obtained. */ public String getInternetChargeType() { return this.InternetChargeType; } /** * Set Network billing mode. Valid values: TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_PACKAGE. Default value: TRAFFIC_POSTPAID_BY_HOUR. For the current account type, see [Account Type Description](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1#judge).
  • IPv6 supports `TRAFFIC_POSTPAID_BY_HOUR` under a bill-by-IP account.
  • IPv6 supports `BANDWIDTH_PACKAGE` under a bill-by-CVM account. Note: This field may return `null`, indicating that no valid values can be obtained. * @param InternetChargeType Network billing mode. Valid values: TRAFFIC_POSTPAID_BY_HOUR, BANDWIDTH_PACKAGE. Default value: TRAFFIC_POSTPAID_BY_HOUR. For the current account type, see [Account Type Description](https://intl.cloud.tencent.com/document/product/1199/49090?from_cn_redirect=1#judge).
  • IPv6 supports `TRAFFIC_POSTPAID_BY_HOUR` under a bill-by-IP account.
  • IPv6 supports `BANDWIDTH_PACKAGE` under a bill-by-CVM account. Note: This field may return `null`, indicating that no valid values can be obtained. */ public void setInternetChargeType(String InternetChargeType) { this.InternetChargeType = InternetChargeType; } /** * Get Outbound bandwidth cap of the public network (in Mbps).
    It defaults to `0`, which indicates no public network bandwidth is allocated to IPv6. The value range of bandwidth caps varies with the model, availability zone and billing mode. For more information, see [Public Network Bandwidth Cap](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1). Note: This field may return `null`, indicating that no valid values can be obtained. * @return InternetMaxBandwidthOut Outbound bandwidth cap of the public network (in Mbps).
    It defaults to `0`, which indicates no public network bandwidth is allocated to IPv6. The value range of bandwidth caps varies with the model, availability zone and billing mode. For more information, see [Public Network Bandwidth Cap](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1). Note: This field may return `null`, indicating that no valid values can be obtained. */ public Long getInternetMaxBandwidthOut() { return this.InternetMaxBandwidthOut; } /** * Set Outbound bandwidth cap of the public network (in Mbps).
    It defaults to `0`, which indicates no public network bandwidth is allocated to IPv6. The value range of bandwidth caps varies with the model, availability zone and billing mode. For more information, see [Public Network Bandwidth Cap](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1). Note: This field may return `null`, indicating that no valid values can be obtained. * @param InternetMaxBandwidthOut Outbound bandwidth cap of the public network (in Mbps).
    It defaults to `0`, which indicates no public network bandwidth is allocated to IPv6. The value range of bandwidth caps varies with the model, availability zone and billing mode. For more information, see [Public Network Bandwidth Cap](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1). Note: This field may return `null`, indicating that no valid values can be obtained. */ public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut) { this.InternetMaxBandwidthOut = InternetMaxBandwidthOut; } /** * Get Bandwidth package ID. You can obtain the ID from the `BandwidthPackageId` field in the response of the [DescribeBandwidthPackages](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) API. Note: This field may return `null`, indicating that no valid values can be obtained. * @return BandwidthPackageId Bandwidth package ID. You can obtain the ID from the `BandwidthPackageId` field in the response of the [DescribeBandwidthPackages](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) API. Note: This field may return `null`, indicating that no valid values can be obtained. */ public String getBandwidthPackageId() { return this.BandwidthPackageId; } /** * Set Bandwidth package ID. You can obtain the ID from the `BandwidthPackageId` field in the response of the [DescribeBandwidthPackages](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) API. Note: This field may return `null`, indicating that no valid values can be obtained. * @param BandwidthPackageId Bandwidth package ID. You can obtain the ID from the `BandwidthPackageId` field in the response of the [DescribeBandwidthPackages](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) API. Note: This field may return `null`, indicating that no valid values can be obtained. */ public void setBandwidthPackageId(String BandwidthPackageId) { this.BandwidthPackageId = BandwidthPackageId; } public IPv6InternetAccessible() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public IPv6InternetAccessible(IPv6InternetAccessible source) { if (source.InternetChargeType != null) { this.InternetChargeType = new String(source.InternetChargeType); } if (source.InternetMaxBandwidthOut != null) { this.InternetMaxBandwidthOut = new Long(source.InternetMaxBandwidthOut); } if (source.BandwidthPackageId != null) { this.BandwidthPackageId = new String(source.BandwidthPackageId); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "InternetChargeType", this.InternetChargeType); this.setParamSimple(map, prefix + "InternetMaxBandwidthOut", this.InternetMaxBandwidthOut); this.setParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId); } }




  • © 2015 - 2025 Weber Informatics LLC | Privacy Policy