public static final class UpdateVpcGatewayEndpointAttributeRequest.Builder extends Object
public UpdateVpcGatewayEndpointAttributeRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters. > If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** of each API request may be different.
public UpdateVpcGatewayEndpointAttributeRequest.Builder dryRun(Boolean dryRun)
* **true**: performs a dry run. The system checks your AccessKey pair, the RAM user permissions, and the required parameters If the request fails the dry run, the corresponding 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 UpdateVpcGatewayEndpointAttributeRequest.Builder endpointDescription(String endpointDescription)
The description must be 1 to 255 characters in length.
public UpdateVpcGatewayEndpointAttributeRequest.Builder endpointId(String endpointId)
public UpdateVpcGatewayEndpointAttributeRequest.Builder endpointName(String endpointName)
The name must be 1 to 128 characters in length.
public UpdateVpcGatewayEndpointAttributeRequest.Builder ownerAccount(String ownerAccount)
public UpdateVpcGatewayEndpointAttributeRequest.Builder ownerId(Long ownerId)
public UpdateVpcGatewayEndpointAttributeRequest.Builder policyDocument(String policyDocument)
For more information about the syntax and structure of the access policy, see [Policy syntax and structure](~~93739~~).
public UpdateVpcGatewayEndpointAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public UpdateVpcGatewayEndpointAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateVpcGatewayEndpointAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateVpcGatewayEndpointAttributeRequest build()
Copyright © 2024. All rights reserved.