Interface NetworkInterface.Builder

    • Method Detail

      • association

        NetworkInterface.Builder association​(NetworkInterfaceAssociation association)

        The association information for an Elastic IP address (IPv4) associated with the network interface.

        Parameters:
        association - The association information for an Elastic IP address (IPv4) associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachment

        NetworkInterface.Builder attachment​(NetworkInterfaceAttachment attachment)

        The network interface attachment.

        Parameters:
        attachment - The network interface attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        NetworkInterface.Builder availabilityZone​(String availabilityZone)

        The Availability Zone.

        Parameters:
        availabilityZone - The Availability Zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionTrackingConfiguration

        NetworkInterface.Builder connectionTrackingConfiguration​(ConnectionTrackingConfiguration connectionTrackingConfiguration)

        A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        connectionTrackingConfiguration - A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon Elastic Compute Cloud User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        NetworkInterface.Builder description​(String description)

        A description.

        Parameters:
        description - A description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        NetworkInterface.Builder groups​(Collection<GroupIdentifier> groups)

        Any security groups for the network interface.

        Parameters:
        groups - Any security groups for the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        NetworkInterface.Builder groups​(GroupIdentifier... groups)

        Any security groups for the network interface.

        Parameters:
        groups - Any security groups for the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Addresses

        NetworkInterface.Builder ipv6Addresses​(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)

        The IPv6 addresses associated with the network interface.

        Parameters:
        ipv6Addresses - The IPv6 addresses associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Addresses

        NetworkInterface.Builder ipv6Addresses​(NetworkInterfaceIpv6Address... ipv6Addresses)

        The IPv6 addresses associated with the network interface.

        Parameters:
        ipv6Addresses - The IPv6 addresses associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • macAddress

        NetworkInterface.Builder macAddress​(String macAddress)

        The MAC address.

        Parameters:
        macAddress - The MAC address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInterfaceId

        NetworkInterface.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.
      • outpostArn

        NetworkInterface.Builder outpostArn​(String outpostArn)

        The Amazon Resource Name (ARN) of the Outpost.

        Parameters:
        outpostArn - The Amazon Resource Name (ARN) of the Outpost.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerId

        NetworkInterface.Builder ownerId​(String ownerId)

        The Amazon Web Services account ID of the owner of the network interface.

        Parameters:
        ownerId - The Amazon Web Services account ID of the owner of the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateDnsName

        NetworkInterface.Builder privateDnsName​(String privateDnsName)

        The private DNS name.

        Parameters:
        privateDnsName - The private DNS name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpAddress

        NetworkInterface.Builder privateIpAddress​(String privateIpAddress)

        The IPv4 address of the network interface within the subnet.

        Parameters:
        privateIpAddress - The IPv4 address of the network interface within the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpAddresses

        NetworkInterface.Builder privateIpAddresses​(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)

        The private IPv4 addresses associated with the network interface.

        Parameters:
        privateIpAddresses - The private IPv4 addresses associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpAddresses

        NetworkInterface.Builder privateIpAddresses​(NetworkInterfacePrivateIpAddress... privateIpAddresses)

        The private IPv4 addresses associated with the network interface.

        Parameters:
        privateIpAddresses - The private IPv4 addresses associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv4Prefixes

        NetworkInterface.Builder ipv4Prefixes​(Collection<Ipv4PrefixSpecification> ipv4Prefixes)

        The IPv4 prefixes that are assigned to the network interface.

        Parameters:
        ipv4Prefixes - The IPv4 prefixes that are assigned to the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv4Prefixes

        NetworkInterface.Builder ipv4Prefixes​(Ipv4PrefixSpecification... ipv4Prefixes)

        The IPv4 prefixes that are assigned to the network interface.

        Parameters:
        ipv4Prefixes - The IPv4 prefixes that are assigned to the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Prefixes

        NetworkInterface.Builder ipv6Prefixes​(Collection<Ipv6PrefixSpecification> ipv6Prefixes)

        The IPv6 prefixes that are assigned to the network interface.

        Parameters:
        ipv6Prefixes - The IPv6 prefixes that are assigned to the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Prefixes

        NetworkInterface.Builder ipv6Prefixes​(Ipv6PrefixSpecification... ipv6Prefixes)

        The IPv6 prefixes that are assigned to the network interface.

        Parameters:
        ipv6Prefixes - The IPv6 prefixes that are assigned to the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requesterId

        NetworkInterface.Builder requesterId​(String requesterId)

        The alias or Amazon Web Services account ID of the principal or service that created the network interface.

        Parameters:
        requesterId - The alias or Amazon Web Services account ID of the principal or service that created the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requesterManaged

        NetworkInterface.Builder requesterManaged​(Boolean requesterManaged)

        Indicates whether the network interface is being managed by Amazon Web Services.

        Parameters:
        requesterManaged - Indicates whether the network interface is being managed by Amazon Web Services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceDestCheck

        NetworkInterface.Builder sourceDestCheck​(Boolean sourceDestCheck)

        Indicates whether source/destination checking is enabled.

        Parameters:
        sourceDestCheck - Indicates whether source/destination checking is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        NetworkInterface.Builder subnetId​(String subnetId)

        The ID of the subnet.

        Parameters:
        subnetId - The ID of the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSet

        NetworkInterface.Builder tagSet​(Collection<Tag> tagSet)

        Any tags assigned to the network interface.

        Parameters:
        tagSet - Any tags assigned to the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSet

        NetworkInterface.Builder tagSet​(Tag... tagSet)

        Any tags assigned to the network interface.

        Parameters:
        tagSet - Any tags assigned to the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSet

        NetworkInterface.Builder tagSet​(Consumer<Tag.Builder>... tagSet)

        Any tags assigned to the network interface.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tagSet(List).

        Parameters:
        tagSet - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tagSet(java.util.Collection)
      • vpcId

        NetworkInterface.Builder vpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • denyAllIgwTraffic

        NetworkInterface.Builder denyAllIgwTraffic​(Boolean denyAllIgwTraffic)

        Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value is true, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to the network interface. The network interface is reachable from peered VPCs and resources connected through a transit gateway, including on-premises networks.

        Parameters:
        denyAllIgwTraffic - Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value is true, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to the network interface. The network interface is reachable from peered VPCs and resources connected through a transit gateway, including on-premises networks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Native

        NetworkInterface.Builder ipv6Native​(Boolean ipv6Native)

        Indicates whether this is an IPv6 only network interface.

        Parameters:
        ipv6Native - Indicates whether this is an IPv6 only network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Address

        NetworkInterface.Builder ipv6Address​(String ipv6Address)

        The IPv6 globally unique address associated with the network interface.

        Parameters:
        ipv6Address - The IPv6 globally unique address associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.