Interface Ec2NetworkInterface.Builder

    • Method Detail

      • ipv6Addresses

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

        A list of IPv6 addresses for the Amazon EC2 instance.

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

        Ec2NetworkInterface.Builder ipv6Addresses​(String... ipv6Addresses)

        A list of IPv6 addresses for the Amazon EC2 instance.

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

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

        Other private IP address information of the Amazon EC2 instance.

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

        Ec2NetworkInterface.Builder privateIpAddresses​(PrivateIpAddressDetails... privateIpAddresses)

        Other private IP address information of the Amazon EC2 instance.

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

        Ec2NetworkInterface.Builder publicIp​(String publicIp)

        The public IP address of the Amazon EC2 instance.

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

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

        The security groups associated with the Amazon EC2 instance.

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

        Ec2NetworkInterface.Builder securityGroups​(SecurityGroup... securityGroups)

        The security groups associated with the Amazon EC2 instance.

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

        Ec2NetworkInterface.Builder subNetId​(String subNetId)

        The subnet ID of the Amazon EC2 instance.

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

        Ec2NetworkInterface.Builder vpcId​(String vpcId)

        The VPC ID of the Amazon EC2 instance.

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