@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpnGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpnGatewayRequest>
Contains the parameters for CreateVpnGateway.
NOOP
Constructor and Description |
---|
CreateVpnGatewayRequest()
Default constructor for 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getAmazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
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 |
setAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
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 |
withAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 void setAvailabilityZone(String availabilityZone)
The Availability Zone for the virtual private gateway.
availabilityZone
- The Availability Zone for the virtual private gateway.public String getAvailabilityZone()
The Availability Zone for the virtual private gateway.
public CreateVpnGatewayRequest withAvailabilityZone(String availabilityZone)
The Availability Zone for the virtual private gateway.
availabilityZone
- The Availability Zone for the virtual private gateway.public void setType(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 String getType()
The type of VPN connection this virtual private gateway supports.
GatewayType
public CreateVpnGatewayRequest withType(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 setAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.
Default: 64512
amazonSideAsn
- A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit
ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to
4294967294 range.
Default: 64512
public Long getAmazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.
Default: 64512
Default: 64512
public CreateVpnGatewayRequest withAmazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.
Default: 64512
amazonSideAsn
- A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit
ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to
4294967294 range.
Default: 64512
public Request<CreateVpnGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpnGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateVpnGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.