Interface ModifyVpnConnectionOptionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ModifyVpnConnectionOptionsRequest.Builder,ModifyVpnConnectionOptionsRequest>, Ec2Request.Builder, SdkBuilder<ModifyVpnConnectionOptionsRequest.Builder,ModifyVpnConnectionOptionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ModifyVpnConnectionOptionsRequest

public static interface ModifyVpnConnectionOptionsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyVpnConnectionOptionsRequest.Builder,ModifyVpnConnectionOptionsRequest>
  • Method Details

    • vpnConnectionId

      ModifyVpnConnectionOptionsRequest.Builder vpnConnectionId(String vpnConnectionId)

      The ID of the Site-to-Site VPN connection.

      Parameters:
      vpnConnectionId - The ID of the Site-to-Site VPN connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localIpv4NetworkCidr

      ModifyVpnConnectionOptionsRequest.Builder localIpv4NetworkCidr(String localIpv4NetworkCidr)

      The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

      Default: 0.0.0.0/0

      Parameters:
      localIpv4NetworkCidr - The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

      Default: 0.0.0.0/0

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteIpv4NetworkCidr

      ModifyVpnConnectionOptionsRequest.Builder remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)

      The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

      Default: 0.0.0.0/0

      Parameters:
      remoteIpv4NetworkCidr - The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

      Default: 0.0.0.0/0

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localIpv6NetworkCidr

      ModifyVpnConnectionOptionsRequest.Builder localIpv6NetworkCidr(String localIpv6NetworkCidr)

      The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

      Default: ::/0

      Parameters:
      localIpv6NetworkCidr - The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

      Default: ::/0

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteIpv6NetworkCidr

      ModifyVpnConnectionOptionsRequest.Builder remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)

      The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

      Default: ::/0

      Parameters:
      remoteIpv6NetworkCidr - The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

      Default: ::/0

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dryRun

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ModifyVpnConnectionOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.