public class CreateVpnGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
CreateVpnGatewayRequest()
Default constructor for a new CreateVpnGatewayRequest object.
|
CreateVpnGatewayRequest(java.lang.String type)
Constructs a new CreateVpnGatewayRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone in which to create the VPN gateway.
|
java.lang.String |
getType()
The type of VPN connection this VPN gateway supports.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which to create the VPN gateway.
|
void |
setType(java.lang.String type)
The type of VPN connection this VPN 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 in which to create the VPN gateway.
|
CreateVpnGatewayRequest |
withType(java.lang.String type)
The type of VPN connection this VPN gateway supports.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateVpnGatewayRequest()
public CreateVpnGatewayRequest(java.lang.String type)
type - The type of VPN connection this VPN gateway supports.public java.lang.String getType()
public void setType(java.lang.String type)
type - The type of VPN connection this VPN gateway supports.public CreateVpnGatewayRequest withType(java.lang.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 java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The Availability Zone in which to create the VPN gateway.public CreateVpnGatewayRequest withAvailabilityZone(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object