@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpnConnectionOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpnConnectionOptionsRequest>
NOOP
Constructor and Description |
---|
ModifyVpnConnectionOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpnConnectionOptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifyVpnConnectionOptionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getLocalIpv4NetworkCidr()
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
String |
getLocalIpv6NetworkCidr()
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
String |
getRemoteIpv4NetworkCidr()
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
|
String |
getRemoteIpv6NetworkCidr()
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
|
String |
getVpnConnectionId()
The ID of the Site-to-Site VPN connection.
|
int |
hashCode() |
void |
setLocalIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
void |
setLocalIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
void |
setRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
|
void |
setRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
|
void |
setVpnConnectionId(String vpnConnectionId)
The ID of the Site-to-Site VPN connection.
|
String |
toString()
Returns a string representation of this object.
|
ModifyVpnConnectionOptionsRequest |
withLocalIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
ModifyVpnConnectionOptionsRequest |
withLocalIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
ModifyVpnConnectionOptionsRequest |
withRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
|
ModifyVpnConnectionOptionsRequest |
withRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
|
ModifyVpnConnectionOptionsRequest |
withVpnConnectionId(String vpnConnectionId)
The ID of the Site-to-Site VPN connection.
|
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 void setVpnConnectionId(String vpnConnectionId)
The ID of the Site-to-Site VPN connection.
vpnConnectionId
- The ID of the Site-to-Site VPN connection.public String getVpnConnectionId()
The ID of the Site-to-Site VPN connection.
public ModifyVpnConnectionOptionsRequest withVpnConnectionId(String vpnConnectionId)
The ID of the Site-to-Site VPN connection.
vpnConnectionId
- The ID of the Site-to-Site VPN connection.public void setLocalIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
localIpv4NetworkCidr
- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
public String getLocalIpv4NetworkCidr()
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
Default: 0.0.0.0/0
public ModifyVpnConnectionOptionsRequest withLocalIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
localIpv4NetworkCidr
- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
public void setRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
remoteIpv4NetworkCidr
- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
public String getRemoteIpv4NetworkCidr()
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
Default: 0.0.0.0/0
public ModifyVpnConnectionOptionsRequest withRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
remoteIpv4NetworkCidr
- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
public void setLocalIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
localIpv6NetworkCidr
- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
public String getLocalIpv6NetworkCidr()
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
Default: ::/0
public ModifyVpnConnectionOptionsRequest withLocalIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
localIpv6NetworkCidr
- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
public void setRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
remoteIpv6NetworkCidr
- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
public String getRemoteIpv6NetworkCidr()
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
Default: ::/0
public ModifyVpnConnectionOptionsRequest withRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
remoteIpv6NetworkCidr
- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
public Request<ModifyVpnConnectionOptionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpnConnectionOptionsRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyVpnConnectionOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()