Interface AssignIpv6AddressesRequest.Builder

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

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

    • ipv6AddressCount

      AssignIpv6AddressesRequest.Builder ipv6AddressCount(Integer ipv6AddressCount)

      The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

      Parameters:
      ipv6AddressCount - The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6Addresses

      AssignIpv6AddressesRequest.Builder ipv6Addresses(Collection<String> ipv6Addresses)

      The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.

      Parameters:
      ipv6Addresses - The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6Addresses

      AssignIpv6AddressesRequest.Builder ipv6Addresses(String... ipv6Addresses)

      The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.

      Parameters:
      ipv6Addresses - The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6PrefixCount

      AssignIpv6AddressesRequest.Builder ipv6PrefixCount(Integer ipv6PrefixCount)

      The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the Ipv6Prefixes option.

      Parameters:
      ipv6PrefixCount - The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the Ipv6Prefixes option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6Prefixes

      One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount option.

      Parameters:
      ipv6Prefixes - One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv6Prefixes

      AssignIpv6AddressesRequest.Builder ipv6Prefixes(String... ipv6Prefixes)

      One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount option.

      Parameters:
      ipv6Prefixes - One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaceId

      AssignIpv6AddressesRequest.Builder networkInterfaceId(String networkInterfaceId)

      The ID of the network interface.

      Parameters:
      networkInterfaceId - The ID of the network interface.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      AssignIpv6AddressesRequest.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.