|
|||||||
| 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.CreateVpnGatewayRequest
public class CreateVpnGatewayRequest
Container for the parameters to the CreateVpnGateway operation.
Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You can create a VPN gateway before creating the VPC itself.
AmazonEC2.createVpnGateway(CreateVpnGatewayRequest)| Constructor Summary | |
|---|---|
CreateVpnGatewayRequest()
Default constructor for a new CreateVpnGatewayRequest object. |
|
CreateVpnGatewayRequest(String type)
Constructs a new CreateVpnGatewayRequest object. |
|
| Method Summary | |
|---|---|
String |
getAvailabilityZone()
The Availability Zone in which to create the VPN gateway. |
String |
getType()
The type of VPN connection this VPN gateway supports. |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which to create the VPN gateway. |
void |
setType(String type)
The type of VPN connection this VPN gateway supports. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateVpnGatewayRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which to create the VPN gateway. |
CreateVpnGatewayRequest |
withType(String type)
The type of VPN connection this VPN gateway supports. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateVpnGatewayRequest()
public CreateVpnGatewayRequest(String type)
type - The type of VPN connection this VPN gateway supports.| Method Detail |
|---|
public String getType()
public void setType(String type)
type - The type of VPN connection this VPN gateway supports.public CreateVpnGatewayRequest withType(String type)
Returns a reference to this object so that method calls can be chained together.
type - The type of VPN connection this VPN gateway supports.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone - The Availability Zone in which to create the VPN gateway.public CreateVpnGatewayRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone - The Availability Zone in which to create the VPN gateway.
public String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||