Interface ScheduledInstancesNetworkInterface.Builder

    • Method Detail

      • associatePublicIpAddress

        ScheduledInstancesNetworkInterface.Builder associatePublicIpAddress​(Boolean associatePublicIpAddress)

        Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

        Parameters:
        associatePublicIpAddress - Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteOnTermination

        ScheduledInstancesNetworkInterface.Builder deleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether to delete the interface when the instance is terminated.

        Parameters:
        deleteOnTermination - Indicates whether to delete the interface when the instance is terminated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ScheduledInstancesNetworkInterface.Builder description​(String description)

        The description.

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

        ScheduledInstancesNetworkInterface.Builder deviceIndex​(Integer deviceIndex)

        The index of the device for the network interface attachment.

        Parameters:
        deviceIndex - The index of the device for the network interface attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        ScheduledInstancesNetworkInterface.Builder groups​(String... groups)

        The IDs of the security groups.

        Parameters:
        groups - The IDs of the security groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6AddressCount

        ScheduledInstancesNetworkInterface.Builder ipv6AddressCount​(Integer ipv6AddressCount)

        The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.

        Parameters:
        ipv6AddressCount - The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInterfaceId

        ScheduledInstancesNetworkInterface.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.
      • privateIpAddress

        ScheduledInstancesNetworkInterface.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.
      • secondaryPrivateIpAddressCount

        ScheduledInstancesNetworkInterface.Builder secondaryPrivateIpAddressCount​(Integer secondaryPrivateIpAddressCount)

        The number of secondary private IPv4 addresses.

        Parameters:
        secondaryPrivateIpAddressCount - The number of secondary private IPv4 addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

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