public static final class UpdateGatewayRouteTableEntryAttributeRequest.Builder extends Object
public UpdateGatewayRouteTableEntryAttributeRequest.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 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.
public UpdateGatewayRouteTableEntryAttributeRequest.Builder description(String description)
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
public UpdateGatewayRouteTableEntryAttributeRequest.Builder destinationCidrBlock(String destinationCidrBlock)
public UpdateGatewayRouteTableEntryAttributeRequest.Builder dryRun(Boolean dryRun)
* **true**: prechecks the request without modifying the gateway route table. The system checks the required parameters, request format, and service limits. If the request fails to pass the precheck, an error code is returned. If the request passes the precheck, the `DryRunOperation` error code is returned. * **false**: sends the request. This is the default value. If the request passes the precheck, a 2xx HTTP status code is returned and the gateway route table is modified.
public UpdateGatewayRouteTableEntryAttributeRequest.Builder gatewayRouteTableId(String gatewayRouteTableId)
public UpdateGatewayRouteTableEntryAttributeRequest.Builder iPv4GatewayRouteTableId(String iPv4GatewayRouteTableId)
public UpdateGatewayRouteTableEntryAttributeRequest.Builder name(String name)
The name must be 2 to 128 characters in length and can contain letter, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
public UpdateGatewayRouteTableEntryAttributeRequest.Builder nextHopId(String nextHopId)
* If you set **NextHopType** to **Instance**, specify an ECS instance ID for **NextHopId**. * If you set **NextHopType** to **NetworkInterface**, specify an ENI ID for **NextHopId**. * If you set **NextHopType** to **Local**, leave **NextHopId** empty. This indicates a local next hop. > If the value of NextHopType is **Instance** or **NetworkInterface**, and you want to modify the next hop, you must set **NextHopType** to **Local** first. Then, set **NextHopType** to **Instance** or **NetworkInterface** and specify **NextHopId** based on your requirements. If the next hop type of a route entry is Instance or NetworkInterface, you cannot directly specify a different ENI ID or ECS instance ID for the NextHopId parameter.
public UpdateGatewayRouteTableEntryAttributeRequest.Builder nextHopType(String nextHopType)
* **Instance**: Elastic Compute Service (ECS) instance * **NetworkInterface**: elastic network interface (ENI) * **Local**: local next hop
public UpdateGatewayRouteTableEntryAttributeRequest.Builder ownerAccount(String ownerAccount)
public UpdateGatewayRouteTableEntryAttributeRequest.Builder ownerId(Long ownerId)
public UpdateGatewayRouteTableEntryAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public UpdateGatewayRouteTableEntryAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateGatewayRouteTableEntryAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateGatewayRouteTableEntryAttributeRequest build()
Copyright © 2024. All rights reserved.