Class CreateCustomerGatewayRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<CreateCustomerGatewayRequest>
,Serializable
,Cloneable
Contains the parameters for CreateCustomerGateway.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateCustomerGatewayRequest object.CreateCustomerGatewayRequest
(GatewayType type, String publicIp, Integer bgpAsn) Constructs a new CreateCustomerGatewayRequest object.CreateCustomerGatewayRequest
(String type, String publicIp, Integer bgpAsn) Constructs a new CreateCustomerGatewayRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
For devices that support BGP, the customer gateway's BGP ASN.This method is intended for internal use only.The Internet-routable IP address for the customer gateway's outside interface.getType()
The type of VPN connection that this customer gateway supports (ipsec.1
).int
hashCode()
void
For devices that support BGP, the customer gateway's BGP ASN.void
setPublicIp
(String publicIp) The Internet-routable IP address for the customer gateway's outside interface.void
setType
(GatewayType type) The type of VPN connection that this customer gateway supports (ipsec.1
).void
The type of VPN connection that this customer gateway supports (ipsec.1
).toString()
Returns a string representation of this object; useful for testing and debugging.withBgpAsn
(Integer bgpAsn) For devices that support BGP, the customer gateway's BGP ASN.withPublicIp
(String publicIp) The Internet-routable IP address for the customer gateway's outside interface.withType
(GatewayType type) The type of VPN connection that this customer gateway supports (ipsec.1
).The type of VPN connection that this customer gateway supports (ipsec.1
).Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateCustomerGatewayRequest
public CreateCustomerGatewayRequest()Default constructor for CreateCustomerGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateCustomerGatewayRequest
Constructs a new CreateCustomerGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
type
- The type of VPN connection that this customer gateway supports (ipsec.1
).publicIp
- The Internet-routable IP address for the customer gateway's outside interface. The address must be static.bgpAsn
- For devices that support BGP, the customer gateway's BGP ASN.Default: 65000
-
CreateCustomerGatewayRequest
Constructs a new CreateCustomerGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
type
- The type of VPN connection that this customer gateway supports (ipsec.1
).publicIp
- The Internet-routable IP address for the customer gateway's outside interface. The address must be static.bgpAsn
- For devices that support BGP, the customer gateway's BGP ASN.Default: 65000
-
-
Method Details
-
setType
The type of VPN connection that this customer gateway supports (
ipsec.1
).- Parameters:
type
- The type of VPN connection that this customer gateway supports (ipsec.1
).- See Also:
-
getType
The type of VPN connection that this customer gateway supports (
ipsec.1
).- Returns:
- The type of VPN connection that this customer gateway supports (
ipsec.1
). - See Also:
-
withType
The type of VPN connection that this customer gateway supports (
ipsec.1
).- Parameters:
type
- The type of VPN connection that this customer gateway supports (ipsec.1
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setType
The type of VPN connection that this customer gateway supports (
ipsec.1
).- Parameters:
type
- The type of VPN connection that this customer gateway supports (ipsec.1
).- See Also:
-
withType
The type of VPN connection that this customer gateway supports (
ipsec.1
).- Parameters:
type
- The type of VPN connection that this customer gateway supports (ipsec.1
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setPublicIp
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
- Parameters:
publicIp
- The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
-
getPublicIp
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
- Returns:
- The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
-
withPublicIp
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
- Parameters:
publicIp
- The Internet-routable IP address for the customer gateway's outside interface. The address must be static.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBgpAsn
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
- Parameters:
bgpAsn
- For devices that support BGP, the customer gateway's BGP ASN.Default: 65000
-
getBgpAsn
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
- Returns:
- For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
-
withBgpAsn
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
- Parameters:
bgpAsn
- For devices that support BGP, the customer gateway's BGP ASN.Default: 65000
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<CreateCustomerGatewayRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-