public static final class CreateVpcGatewayEndpointRequest.Builder extends Object
public CreateVpcGatewayEndpointRequest.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 CreateVpcGatewayEndpointRequest.Builder dryRun(Boolean dryRun)
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service 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 performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
public CreateVpcGatewayEndpointRequest.Builder endpointDescription(String endpointDescription)
The description must be 1 to 255 characters in length.
public CreateVpcGatewayEndpointRequest.Builder endpointName(String endpointName)
The name must be 1 to 128 characters in length.
public CreateVpcGatewayEndpointRequest.Builder ownerAccount(String ownerAccount)
public CreateVpcGatewayEndpointRequest.Builder ownerId(Long ownerId)
public CreateVpcGatewayEndpointRequest.Builder policyDocument(String policyDocument)
For more information about the syntax and structure of the access policy, see [Policy syntax and structure](~~93739~~).
public CreateVpcGatewayEndpointRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public CreateVpcGatewayEndpointRequest.Builder resourceGroupId(String resourceGroupId)
public CreateVpcGatewayEndpointRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateVpcGatewayEndpointRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateVpcGatewayEndpointRequest.Builder serviceName(String serviceName)
public CreateVpcGatewayEndpointRequest.Builder tag(List<CreateVpcGatewayEndpointRequest.Tag> tag)
public CreateVpcGatewayEndpointRequest.Builder vpcId(String vpcId)
The VPC and gateway endpoint must be deployed in the same region.
public CreateVpcGatewayEndpointRequest build()
Copyright © 2024. All rights reserved.