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 CreateVpnConnectionResultclone()booleanequals(Object obj)VpnConnectiongetVpnConnection()Information about the VPN connection.inthashCode()voidsetVpnConnection(VpnConnection vpnConnection)Information about the VPN connection.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateVpnConnectionResultwithVpnConnection(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateVpnConnectionResult clone()
-
-