public class CreateVpnConnectionRouteRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getDestinationCidrBlock()
The CIDR block associated with the local subnet of the customer
network.
|
java.lang.String |
getVpnConnectionId()
The ID of the VPN connection.
|
int |
hashCode() |
void |
setDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer
network.
|
void |
setVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpnConnectionRouteRequest |
withDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer
network.
|
CreateVpnConnectionRouteRequest |
withVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getVpnConnectionId()
public void setVpnConnectionId(java.lang.String vpnConnectionId)
vpnConnectionId
- The ID of the VPN connection.public CreateVpnConnectionRouteRequest withVpnConnectionId(java.lang.String vpnConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpnConnectionId
- The ID of the VPN connection.public java.lang.String getDestinationCidrBlock()
public void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
destinationCidrBlock
- The CIDR block associated with the local subnet of the customer
network.public CreateVpnConnectionRouteRequest withDestinationCidrBlock(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.