public static final class AssociateVpnGatewayWithCertificateRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
AssociateVpnGatewayWithCertificateRequest |
build() |
AssociateVpnGatewayWithCertificateRequest.Builder |
certificateId(String certificateId)
The ID of the certificate.
|
AssociateVpnGatewayWithCertificateRequest.Builder |
certificateType(String certificateType)
The type of the certificate.
|
AssociateVpnGatewayWithCertificateRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
AssociateVpnGatewayWithCertificateRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to perform a dry run, without performing the actual request.
|
AssociateVpnGatewayWithCertificateRequest.Builder |
regionId(String regionId)
The region ID of the VPN gateway.
|
AssociateVpnGatewayWithCertificateRequest.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway.
|
public AssociateVpnGatewayWithCertificateRequest.Builder certificateId(String certificateId)
public AssociateVpnGatewayWithCertificateRequest.Builder certificateType(String certificateType)
* **Encryption** * **Signature**
public AssociateVpnGatewayWithCertificateRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The 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.
public AssociateVpnGatewayWithCertificateRequest.Builder dryRun(Boolean dryRun)
* **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, a request ID 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, the operation is performed.
public AssociateVpnGatewayWithCertificateRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public AssociateVpnGatewayWithCertificateRequest.Builder vpnGatewayId(String vpnGatewayId)
> You can associate only VPN gateways of the SM type with certificates.
public AssociateVpnGatewayWithCertificateRequest build()
Copyright © 2024. All rights reserved.