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 CreateVpnGatewayResult
clone()
boolean
equals(Object obj)
VpnGateway
getVpnGateway()
Information about the virtual private gateway.int
hashCode()
void
setVpnGateway(VpnGateway vpnGateway)
Information about the virtual private gateway.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateVpnGatewayResult
withVpnGateway(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateVpnGatewayResult clone()
-
-