Package com.amazonaws.services.ec2.model
Class CreateVpnGatewayResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateVpnGatewayResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateVpnGatewayResult extends Object implements Serializable, Cloneable
Contains the output of CreateVpnGateway.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateVpnGatewayResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVpnGatewayResultclone()booleanequals(Object obj)VpnGatewaygetVpnGateway()Information about the virtual private gateway.inthashCode()voidsetVpnGateway(VpnGateway vpnGateway)Information about the virtual private gateway.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateVpnGatewayResultwithVpnGateway(VpnGateway vpnGateway)Information about the virtual private gateway.
-
-
-
Method Detail
-
setVpnGateway
public void setVpnGateway(VpnGateway vpnGateway)
Information about the virtual private gateway.
- Parameters:
vpnGateway- Information about the virtual private gateway.
-
getVpnGateway
public VpnGateway getVpnGateway()
Information about the virtual private gateway.
- Returns:
- Information about the virtual private gateway.
-
withVpnGateway
public CreateVpnGatewayResult withVpnGateway(VpnGateway vpnGateway)
Information about the virtual private gateway.
- Parameters:
vpnGateway- Information about the virtual private gateway.- 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 CreateVpnGatewayResult clone()
-
-