|
|||||||
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.DeleteVpnConnectionRequest
public class DeleteVpnConnectionRequest
Container for the parameters to the DeleteVpnConnection operation
.
Deletes the specified VPN connection.
If you're deleting the VPC and its associated components, we recommend that you detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection.
AmazonEC2.deleteVpnConnection(DeleteVpnConnectionRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteVpnConnectionRequest()
Default constructor for a new DeleteVpnConnectionRequest object. |
|
DeleteVpnConnectionRequest(java.lang.String vpnConnectionId)
Constructs a new DeleteVpnConnectionRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Request<DeleteVpnConnectionRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getVpnConnectionId()
The ID of the VPN connection. |
int |
hashCode()
|
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. |
DeleteVpnConnectionRequest |
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 DeleteVpnConnectionRequest()
public DeleteVpnConnectionRequest(java.lang.String vpnConnectionId)
vpnConnectionId
- The ID of the VPN connection.Method Detail |
---|
public java.lang.String getVpnConnectionId()
public void setVpnConnectionId(java.lang.String vpnConnectionId)
vpnConnectionId
- The ID of the VPN connection.public DeleteVpnConnectionRequest 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 Request<DeleteVpnConnectionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteVpnConnectionRequest>
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 |