Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class CreateVpnConnectionRouteRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CreateVpnConnectionRouteRequest
All Implemented Interfaces:
java.io.Serializable

public class CreateVpnConnectionRouteRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the CreateVpnConnectionRoute operation.

See Also:
AmazonEC2.createVpnConnectionRoute(CreateVpnConnectionRouteRequest), Serialized Form

Constructor Summary
CreateVpnConnectionRouteRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDestinationCidrBlock()
          Returns the value of the DestinationCidrBlock property for this object.
 java.lang.String getVpnConnectionId()
          Returns the value of the VpnConnectionId property for this object.
 int hashCode()
           
 void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
          Sets the value of the DestinationCidrBlock property for this object.
 void setVpnConnectionId(java.lang.String vpnConnectionId)
          Sets the value of the VpnConnectionId property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateVpnConnectionRouteRequest withDestinationCidrBlock(java.lang.String destinationCidrBlock)
          Sets the value of the DestinationCidrBlock property for this object.
 CreateVpnConnectionRouteRequest withVpnConnectionId(java.lang.String vpnConnectionId)
          Sets the value of the VpnConnectionId property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateVpnConnectionRouteRequest

public CreateVpnConnectionRouteRequest()
Method Detail

getVpnConnectionId

public java.lang.String getVpnConnectionId()
Returns the value of the VpnConnectionId property for this object.

Returns:
The value of the VpnConnectionId property for this object.

setVpnConnectionId

public void setVpnConnectionId(java.lang.String vpnConnectionId)
Sets the value of the VpnConnectionId property for this object.

Parameters:
vpnConnectionId - The new value for the VpnConnectionId property for this object.

withVpnConnectionId

public CreateVpnConnectionRouteRequest withVpnConnectionId(java.lang.String vpnConnectionId)
Sets the value of the VpnConnectionId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpnConnectionId - The new value for the VpnConnectionId property for this object.

getDestinationCidrBlock

public java.lang.String getDestinationCidrBlock()
Returns the value of the DestinationCidrBlock property for this object.

Returns:
The value of the DestinationCidrBlock property for this object.

setDestinationCidrBlock

public void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.

Parameters:
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.

withDestinationCidrBlock

public CreateVpnConnectionRouteRequest withDestinationCidrBlock(java.lang.String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.