@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 |
clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
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) |
boolean |
equalsBySdkFields(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
To add a route for the local network, enter the client CIDR range
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
To add a route for the local network, enter the client CIDR range
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.
Alternatively, if you're adding a route for the local network, specify local.
Alternatively, if you're adding a route for the local network, specify local.
public String description()
A brief description of the route.
public String clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.