@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClientVpnRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateClientVpnRouteRequest>
NOOP
Constructor and Description |
---|
CreateClientVpnRouteRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClientVpnRouteRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getClientVpnEndpointId()
The ID of the Client VPN endpoint to which to add the route.
|
String |
getDescription()
A brief description of the route.
|
String |
getDestinationCidrBlock()
The IPv4 address range, in CIDR notation, of the route destination.
|
Request<CreateClientVpnRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getTargetVpcSubnetId()
The ID of the subnet through which you want to route traffic.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which to add the route.
|
void |
setDescription(String description)
A brief description of the route.
|
void |
setDestinationCidrBlock(String destinationCidrBlock)
The IPv4 address range, in CIDR notation, of the route destination.
|
void |
setTargetVpcSubnetId(String targetVpcSubnetId)
The ID of the subnet through which you want to route traffic.
|
String |
toString()
Returns a string representation of this object.
|
CreateClientVpnRouteRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateClientVpnRouteRequest |
withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which to add the route.
|
CreateClientVpnRouteRequest |
withDescription(String description)
A brief description of the route.
|
CreateClientVpnRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The IPv4 address range, in CIDR notation, of the route destination.
|
CreateClientVpnRouteRequest |
withTargetVpcSubnetId(String targetVpcSubnetId)
The ID of the subnet through which you want to route traffic.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which to add the route.
clientVpnEndpointId
- The ID of the Client VPN endpoint to which to add the route.public String getClientVpnEndpointId()
The ID of the Client VPN endpoint to which to add the route.
public CreateClientVpnRouteRequest withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which to add the route.
clientVpnEndpointId
- The ID of the Client VPN endpoint to which to add the route.public void setDestinationCidrBlock(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 Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range
To add a route for the local network, enter the client CIDR range
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 Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range
To add a route for the local network, enter the client CIDR range
public String getDestinationCidrBlock()
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 Amazon Web Services 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 Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range
To add a route for the local network, enter the client CIDR range
public CreateClientVpnRouteRequest withDestinationCidrBlock(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 Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range
To add a route for the local network, enter the client CIDR range
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 Amazon Web Services Site-to-Site VPN connection's IPv4 CIDR range
To add a route for the local network, enter the client CIDR range
public void setTargetVpcSubnetId(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
.
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
.
public String getTargetVpcSubnetId()
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 CreateClientVpnRouteRequest withTargetVpcSubnetId(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
.
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
.
public void setDescription(String description)
A brief description of the route.
description
- A brief description of the route.public String getDescription()
A brief description of the route.
public CreateClientVpnRouteRequest withDescription(String description)
A brief description of the route.
description
- A brief description of the route.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see Ensuring idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
public CreateClientVpnRouteRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see Ensuring idempotency.public Request<CreateClientVpnRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateClientVpnRouteRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateClientVpnRouteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()