com.aliyun.vpc20160428.models.DissociateVpnGatewayWithCertificateRequest Maven / Gradle / Ivy
Show all versions of vpc20160428 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.vpc20160428.models;
import com.aliyun.tea.*;
public class DissociateVpnGatewayWithCertificateRequest extends TeaModel {
/**
* The certificate ID.
*
* > The certificate ID refers to the ID generated after the SSL certificate is associated with a VPN gateway. It is not the ID of the certificate itself. You can call [ListVpnCertificateAssociations](~~448813~~) to query certificate IDs.
*/
@NameInMap("CertificateId")
public String certificateId;
/**
* The certificate type. Valid values:
*
* * **Encryption**
* * **Signature**
*/
@NameInMap("CertificateType")
public String certificateType;
/**
* The client token that is used to ensure the idempotence of the request.
*
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
*
* > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
*/
@NameInMap("ClientToken")
public String clientToken;
/**
* Specifies whether to perform a dry run, without performing the actual request. Valid values:
*
* * **true**: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request passes the dry run, the `DryRunOperation` error code is returned. Otherwise, an error message is returned.
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
*/
@NameInMap("DryRun")
public Boolean dryRun;
/**
* The region ID of the VPN gateway.
*
* You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
*/
@NameInMap("RegionId")
public String regionId;
/**
* The ID of the VPN gateway.
*/
@NameInMap("VpnGatewayId")
public String vpnGatewayId;
public static DissociateVpnGatewayWithCertificateRequest build(java.util.Map map) throws Exception {
DissociateVpnGatewayWithCertificateRequest self = new DissociateVpnGatewayWithCertificateRequest();
return TeaModel.build(map, self);
}
public DissociateVpnGatewayWithCertificateRequest setCertificateId(String certificateId) {
this.certificateId = certificateId;
return this;
}
public String getCertificateId() {
return this.certificateId;
}
public DissociateVpnGatewayWithCertificateRequest setCertificateType(String certificateType) {
this.certificateType = certificateType;
return this;
}
public String getCertificateType() {
return this.certificateType;
}
public DissociateVpnGatewayWithCertificateRequest setClientToken(String clientToken) {
this.clientToken = clientToken;
return this;
}
public String getClientToken() {
return this.clientToken;
}
public DissociateVpnGatewayWithCertificateRequest setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
return this;
}
public Boolean getDryRun() {
return this.dryRun;
}
public DissociateVpnGatewayWithCertificateRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DissociateVpnGatewayWithCertificateRequest setVpnGatewayId(String vpnGatewayId) {
this.vpnGatewayId = vpnGatewayId;
return this;
}
public String getVpnGatewayId() {
return this.vpnGatewayId;
}
}