Interface NetworkInterface.Builder

    • Method Detail

      • ipv6Addresses

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

        A list of IPv6 addresses for the EC2 instance.

        Parameters:
        ipv6Addresses - A list of IPv6 addresses for the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6Addresses

        NetworkInterface.Builder ipv6Addresses​(String... ipv6Addresses)

        A list of IPv6 addresses for the EC2 instance.

        Parameters:
        ipv6Addresses - A list of IPv6 addresses for the EC2 instance.
        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.
      • privateDnsName

        NetworkInterface.Builder privateDnsName​(String privateDnsName)

        The private DNS name of the EC2 instance.

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

        NetworkInterface.Builder privateIpAddress​(String privateIpAddress)

        The private IP address of the EC2 instance.

        Parameters:
        privateIpAddress - The private IP address of the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpAddresses

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

        Other private IP address information of the EC2 instance.

        Parameters:
        privateIpAddresses - Other private IP address information of the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateIpAddresses

        NetworkInterface.Builder privateIpAddresses​(PrivateIpAddressDetails... privateIpAddresses)

        Other private IP address information of the EC2 instance.

        Parameters:
        privateIpAddresses - Other private IP address information of the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicDnsName

        NetworkInterface.Builder publicDnsName​(String publicDnsName)

        The public DNS name of the EC2 instance.

        Parameters:
        publicDnsName - The public DNS name of the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicIp

        NetworkInterface.Builder publicIp​(String publicIp)

        The public IP address of the EC2 instance.

        Parameters:
        publicIp - The public IP address of the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        NetworkInterface.Builder securityGroups​(Collection<SecurityGroup> securityGroups)

        The security groups associated with the EC2 instance.

        Parameters:
        securityGroups - The security groups associated with the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        NetworkInterface.Builder securityGroups​(SecurityGroup... securityGroups)

        The security groups associated with the EC2 instance.

        Parameters:
        securityGroups - The security groups associated with the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        NetworkInterface.Builder subnetId​(String subnetId)

        The subnet ID of the EC2 instance.

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

        NetworkInterface.Builder vpcId​(String vpcId)

        The VPC ID of the EC2 instance.

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