Package com.amazonaws.services.ec2.model
Class CreateVpnConnectionResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateVpnConnectionResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateVpnConnectionResult extends Object implements Serializable, Cloneable
Contains the output of CreateVpnConnection.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateVpnConnectionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVpnConnectionResult
clone()
boolean
equals(Object obj)
VpnConnection
getVpnConnection()
Information about the VPN connection.int
hashCode()
void
setVpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateVpnConnectionResult
withVpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.
-
-
-
Method Detail
-
setVpnConnection
public void setVpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.
- Parameters:
vpnConnection
- Information about the VPN connection.
-
getVpnConnection
public VpnConnection getVpnConnection()
Information about the VPN connection.
- Returns:
- Information about the VPN connection.
-
withVpnConnection
public CreateVpnConnectionResult withVpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.
- Parameters:
vpnConnection
- Information about the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateVpnConnectionResult clone()
-
-