public class CreateVpnConnectionRouteRequest extends AmazonWebServiceRequest implements Serializable
CreateVpnConnectionRoute operation.
Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide .
| Constructor and Description |
|---|
CreateVpnConnectionRouteRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The CIDR block associated with the local subnet of the customer
network.
|
String |
getVpnConnectionId()
The ID of the VPN connection.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer
network.
|
void |
setVpnConnectionId(String vpnConnectionId)
The ID of the VPN connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpnConnectionRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer
network.
|
CreateVpnConnectionRouteRequest |
withVpnConnectionId(String vpnConnectionId)
The ID of the VPN connection.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getVpnConnectionId()
public void setVpnConnectionId(String vpnConnectionId)
vpnConnectionId - The ID of the VPN connection.public CreateVpnConnectionRouteRequest withVpnConnectionId(String vpnConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpnConnectionId - The ID of the VPN connection.public String getDestinationCidrBlock()
public void setDestinationCidrBlock(String destinationCidrBlock)
destinationCidrBlock - The CIDR block associated with the local subnet of the customer
network.public CreateVpnConnectionRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
Returns a reference to this object so that method calls can be chained together.
destinationCidrBlock - The CIDR block associated with the local subnet of the customer
network.public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.