public static final class CreateIpv4GatewayRequest.Builder extends Object
public CreateIpv4GatewayRequest.Builder clientToken(String clientToken)
You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters. > If you do not set this parameter, the system sets **ClientToken** to the value of **RequestId**. The value of **RequestId** for each API request is different.
public CreateIpv4GatewayRequest.Builder dryRun(Boolean dryRun)
* **true**: performs a dry run. The system checks the required parameters, request syntax, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. * **false** (default): performs a dry run and sends the request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
public CreateIpv4GatewayRequest.Builder ipv4GatewayDescription(String ipv4GatewayDescription)
The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
public CreateIpv4GatewayRequest.Builder ipv4GatewayName(String ipv4GatewayName)
The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
public CreateIpv4GatewayRequest.Builder ownerAccount(String ownerAccount)
public CreateIpv4GatewayRequest.Builder ownerId(Long ownerId)
public CreateIpv4GatewayRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public CreateIpv4GatewayRequest.Builder resourceGroupId(String resourceGroupId)
public CreateIpv4GatewayRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateIpv4GatewayRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateIpv4GatewayRequest.Builder tag(List<CreateIpv4GatewayRequest.Tag> tag)
public CreateIpv4GatewayRequest.Builder vpcId(String vpcId)
You can create only one IPv4 gateway in a VPC.
public CreateIpv4GatewayRequest build()
Copyright © 2024. All rights reserved.