public static final class CreateEnsRouteEntryRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateEnsRouteEntryRequest |
build() |
CreateEnsRouteEntryRequest.Builder |
description(String description)
The description of the custom route entry.
|
CreateEnsRouteEntryRequest.Builder |
destinationCidrBlock(String destinationCidrBlock)
The destination CIDR block of the custom route entry.
|
CreateEnsRouteEntryRequest.Builder |
nextHopId(String nextHopId)
The ID of the next hop of the custom route entry.
|
CreateEnsRouteEntryRequest.Builder |
nextHopType(String nextHopType)
The type of next hop of the custom route entry.
|
CreateEnsRouteEntryRequest.Builder |
routeEntryName(String routeEntryName)
The name of the custom route entry that you want to add.
|
CreateEnsRouteEntryRequest.Builder |
routeTableId(String routeTableId)
The ID of the route table to which you want to add a custom route entry.
|
public CreateEnsRouteEntryRequest.Builder description(String description)
public CreateEnsRouteEntryRequest.Builder destinationCidrBlock(String destinationCidrBlock)
* The destination CIDR block is not 100.64.0.0/10 or a subset of 100.64.0.0/10. * The destination CIDR block of the custom route entry is different from the destination CIDR blocks of other route entries in the same route table. * 0.0.0.0/0 indicates the default CIDR block.
public CreateEnsRouteEntryRequest.Builder nextHopId(String nextHopId)
public CreateEnsRouteEntryRequest.Builder nextHopType(String nextHopType)
* Instance (default): an ENS instance.
public CreateEnsRouteEntryRequest.Builder routeEntryName(String routeEntryName)
public CreateEnsRouteEntryRequest.Builder routeTableId(String routeTableId)
public CreateEnsRouteEntryRequest build()
Copyright © 2024. All rights reserved.