|
|||||||
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.DeleteVpnGatewayRequest
public class DeleteVpnGatewayRequest
Container for the parameters to the DeleteVpnGateway operation
.
Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.
AmazonEC2.deleteVpnGateway(DeleteVpnGatewayRequest)
Constructor Summary | |
---|---|
DeleteVpnGatewayRequest()
Default constructor for a new DeleteVpnGatewayRequest object. |
|
DeleteVpnGatewayRequest(String vpnGatewayId)
Constructs a new DeleteVpnGatewayRequest object. |
Method Summary | |
---|---|
String |
getVpnGatewayId()
The ID of the VPN gateway to delete. |
void |
setVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteVpnGatewayRequest |
withVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to delete. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteVpnGatewayRequest()
public DeleteVpnGatewayRequest(String vpnGatewayId)
vpnGatewayId
- The ID of the VPN gateway to delete.Method Detail |
---|
public String getVpnGatewayId()
public void setVpnGatewayId(String vpnGatewayId)
vpnGatewayId
- The ID of the VPN gateway to delete.public DeleteVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId
- The ID of the VPN gateway to delete.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |