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

com.tencentcloudapi.vpc.v20170312.models.DisassociateAddressRequest 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.vpc.v20170312.models;

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

public class DisassociateAddressRequest extends AbstractModel{

    /**
    * The unique ID of the EIP, such as `eip-11112222`.
    */
    @SerializedName("AddressId")
    @Expose
    private String AddressId;

    /**
    * Whether a common public IP is assigned after the EIP is unbound. Value range:
  • TRUE: Indicates that after the EIP is unbound, a common public IP is assigned.
  • FALSE: Indicates that after the EIP is unbound, a common public IP is not assigned.
    Default value: FALSE.

    The parameter can be specified only under the following conditions:
  • It can only be specified when you unbind an EIP from the primary private IP of the primary ENI.
  • After an EIP is unbound, you can assign public IPs to an account up to 10 times per day. For more information, use the [DescribeAddressQuota] (https://intl.cloud.tencent.com/document/api/213/1378?from_cn_redirect=1) API. */ @SerializedName("ReallocateNormalPublicIp") @Expose private Boolean ReallocateNormalPublicIp; /** * Get The unique ID of the EIP, such as `eip-11112222`. * @return AddressId The unique ID of the EIP, such as `eip-11112222`. */ public String getAddressId() { return this.AddressId; } /** * Set The unique ID of the EIP, such as `eip-11112222`. * @param AddressId The unique ID of the EIP, such as `eip-11112222`. */ public void setAddressId(String AddressId) { this.AddressId = AddressId; } /** * Get Whether a common public IP is assigned after the EIP is unbound. Value range:
  • TRUE: Indicates that after the EIP is unbound, a common public IP is assigned.
  • FALSE: Indicates that after the EIP is unbound, a common public IP is not assigned.
    Default value: FALSE.

    The parameter can be specified only under the following conditions:
  • It can only be specified when you unbind an EIP from the primary private IP of the primary ENI.
  • After an EIP is unbound, you can assign public IPs to an account up to 10 times per day. For more information, use the [DescribeAddressQuota] (https://intl.cloud.tencent.com/document/api/213/1378?from_cn_redirect=1) API. * @return ReallocateNormalPublicIp Whether a common public IP is assigned after the EIP is unbound. Value range:
  • TRUE: Indicates that after the EIP is unbound, a common public IP is assigned.
  • FALSE: Indicates that after the EIP is unbound, a common public IP is not assigned.
    Default value: FALSE.

    The parameter can be specified only under the following conditions:
  • It can only be specified when you unbind an EIP from the primary private IP of the primary ENI.
  • After an EIP is unbound, you can assign public IPs to an account up to 10 times per day. For more information, use the [DescribeAddressQuota] (https://intl.cloud.tencent.com/document/api/213/1378?from_cn_redirect=1) API. */ public Boolean getReallocateNormalPublicIp() { return this.ReallocateNormalPublicIp; } /** * Set Whether a common public IP is assigned after the EIP is unbound. Value range:
  • TRUE: Indicates that after the EIP is unbound, a common public IP is assigned.
  • FALSE: Indicates that after the EIP is unbound, a common public IP is not assigned.
    Default value: FALSE.

    The parameter can be specified only under the following conditions:
  • It can only be specified when you unbind an EIP from the primary private IP of the primary ENI.
  • After an EIP is unbound, you can assign public IPs to an account up to 10 times per day. For more information, use the [DescribeAddressQuota] (https://intl.cloud.tencent.com/document/api/213/1378?from_cn_redirect=1) API. * @param ReallocateNormalPublicIp Whether a common public IP is assigned after the EIP is unbound. Value range:
  • TRUE: Indicates that after the EIP is unbound, a common public IP is assigned.
  • FALSE: Indicates that after the EIP is unbound, a common public IP is not assigned.
    Default value: FALSE.

    The parameter can be specified only under the following conditions:
  • It can only be specified when you unbind an EIP from the primary private IP of the primary ENI.
  • After an EIP is unbound, you can assign public IPs to an account up to 10 times per day. For more information, use the [DescribeAddressQuota] (https://intl.cloud.tencent.com/document/api/213/1378?from_cn_redirect=1) API. */ public void setReallocateNormalPublicIp(Boolean ReallocateNormalPublicIp) { this.ReallocateNormalPublicIp = ReallocateNormalPublicIp; } public DisassociateAddressRequest() { } /** * 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 DisassociateAddressRequest(DisassociateAddressRequest source) { if (source.AddressId != null) { this.AddressId = new String(source.AddressId); } if (source.ReallocateNormalPublicIp != null) { this.ReallocateNormalPublicIp = new Boolean(source.ReallocateNormalPublicIp); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "AddressId", this.AddressId); this.setParamSimple(map, prefix + "ReallocateNormalPublicIp", this.ReallocateNormalPublicIp); } }




  • © 2015 - 2025 Weber Informatics LLC | Privacy Policy