|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateVpnConnectionRouteRequest
public class CreateVpnConnectionRouteRequest
Container for the parameters to the 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 .
AmazonEC2.createVpnConnectionRoute(CreateVpnConnectionRouteRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateVpnConnectionRouteRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateVpnConnectionRouteRequest()
Method Detail |
---|
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |