public class CreateVpnGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<CreateVpnGatewayRequest>
Contains the parameters for CreateVpnGateway.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
availabilityZone
The Availability Zone for the virtual private gateway.
|
private java.lang.String |
type
The type of VPN connection this virtual private gateway supports.
|
NOOP
Constructor and Description |
---|
CreateVpnGatewayRequest()
Default constructor for CreateVpnGatewayRequest object.
|
CreateVpnGatewayRequest(GatewayType type)
Constructs a new CreateVpnGatewayRequest object.
|
CreateVpnGatewayRequest(java.lang.String type)
Constructs a new CreateVpnGatewayRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateVpnGatewayRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone for the virtual private gateway.
|
Request<CreateVpnGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getType()
The type of VPN connection this virtual private gateway supports.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.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(java.lang.String type)
The type of VPN connection this virtual private gateway supports.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpnGatewayRequest |
withAvailabilityZone(java.lang.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(java.lang.String type)
The type of VPN connection this virtual private gateway supports.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String type
The type of VPN connection this virtual private gateway supports.
private java.lang.String availabilityZone
The Availability Zone for the virtual private gateway.
public CreateVpnGatewayRequest()
public CreateVpnGatewayRequest(java.lang.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 void setType(java.lang.String type)
The type of VPN connection this virtual private gateway supports.
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public java.lang.String getType()
The type of VPN connection this virtual private gateway supports.
GatewayType
public CreateVpnGatewayRequest withType(java.lang.String type)
The type of VPN connection this virtual private gateway supports.
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public void setType(GatewayType type)
The type of VPN connection this virtual private gateway supports.
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public CreateVpnGatewayRequest withType(GatewayType type)
The type of VPN connection this virtual private gateway supports.
type
- The type of VPN connection this virtual private gateway supports.GatewayType
public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone for the virtual private gateway.
availabilityZone
- The Availability Zone for the virtual private gateway.public java.lang.String getAvailabilityZone()
The Availability Zone for the virtual private gateway.
public CreateVpnGatewayRequest withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone for the virtual private gateway.
availabilityZone
- The Availability Zone for the virtual private gateway.public Request<CreateVpnGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpnGatewayRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateVpnGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()