@Generated(value="software.amazon.awssdk:codegen") public final class CreateClientVpnRouteRequest extends Ec2Request implements ToCopyableBuilder<CreateClientVpnRouteRequest.Builder,CreateClientVpnRouteRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateClientVpnRouteRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateClientVpnRouteRequest.Builder |
builder() |
String |
clientVpnEndpointId()
The ID of the Client VPN endpoint to which to add the route.
|
String |
description()
A brief description of the route.
|
String |
destinationCidrBlock()
The IPv4 address range, in CIDR notation, of the route destination.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateClientVpnRouteRequest.Builder> |
serializableBuilderClass() |
String |
targetVpcSubnetId()
The ID of the subnet through which you want to route traffic.
|
CreateClientVpnRouteRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String clientVpnEndpointId()
The ID of the Client VPN endpoint to which to add the route.
public String destinationCidrBlock()
The IPv4 address range, in CIDR notation, of the route destination. For example:
To add a route for Internet access, enter 0.0.0.0/0
To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range
Route address ranges cannot overlap with the CIDR range specified for client allocation.
To add a route for Internet access, enter 0.0.0.0/0
To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range
Route address ranges cannot overlap with the CIDR range specified for client allocation.
public String targetVpcSubnetId()
The ID of the subnet through which you want to route traffic. The specified subnet must be an existing target network of the Client VPN endpoint.
public String description()
A brief description of the route.
public CreateClientVpnRouteRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateClientVpnRouteRequest.Builder,CreateClientVpnRouteRequest>toBuilder in class Ec2Requestpublic static CreateClientVpnRouteRequest.Builder builder()
public static Class<? extends CreateClientVpnRouteRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.