public class CreateVpnGatewayRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CreateVpnGatewayRequest>
CreateVpnGateway operation
.
Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.
For more information about virtual private gateways, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide .
NOOP
Constructor and Description |
---|
CreateVpnGatewayRequest()
Default constructor for a new CreateVpnGatewayRequest object.
|
CreateVpnGatewayRequest(GatewayType type)
Constructs a new CreateVpnGatewayRequest object.
|
CreateVpnGatewayRequest(String type)
Constructs a new CreateVpnGatewayRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone for the virtual private gateway.
|
Request<CreateVpnGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getType()
The type of VPN connection this virtual private gateway supports.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone for the virtual private gateway.
|
void |
setType(GatewayType type)
The type of VPN connection this virtual private gateway supports.
|
void |
setType(String type)
The type of VPN connection this virtual private gateway supports.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpnGatewayRequest |
withAvailabilityZone(String availabilityZone)
The Availability Zone for the virtual private gateway.
|
CreateVpnGatewayRequest |
withType(GatewayType type)
The type of VPN connection this virtual private gateway supports.
|
CreateVpnGatewayRequest |
withType(String type)
The type of VPN connection this virtual private gateway supports.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateVpnGatewayRequest()
public CreateVpnGatewayRequest(String type)
type
- The type of VPN connection this virtual private gateway
supports.public CreateVpnGatewayRequest(GatewayType type)
type
- The type of VPN connection this virtual private gateway
supports.public String getType()
Constraints:
Allowed Values: ipsec.1
GatewayType
public void setType(String type)
Constraints:
Allowed Values: ipsec.1
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public CreateVpnGatewayRequest withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ipsec.1
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public void setType(GatewayType type)
Constraints:
Allowed Values: ipsec.1
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public CreateVpnGatewayRequest withType(GatewayType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ipsec.1
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone for the virtual private gateway.public CreateVpnGatewayRequest withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone for the virtual private gateway.public Request<CreateVpnGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpnGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.