public class CreateVpnGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, 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 |
|---|---|
CreateVpnGatewayRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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
GatewayTypepublic void setType(String type)
Constraints:
Allowed Values: ipsec.1
type - The type of VPN connection this virtual private gateway supports.GatewayTypepublic 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.GatewayTypepublic void setType(GatewayType type)
Constraints:
Allowed Values: ipsec.1
type - The type of VPN connection this virtual private gateway supports.GatewayTypepublic 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.GatewayTypepublic 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 ObjectObject.toString()public CreateVpnGatewayRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.