Class InstanceNetworkInterface


  • public final class InstanceNetworkInterface
    extends java.lang.Object
    • Method Detail

      • deleteOnTermination

        public java.util.Optional<java.lang.Boolean> deleteOnTermination()
        Returns:
        Whether or not to delete the network interface on instance termination. Defaults to `false`. Currently, the only valid value is `false`, as this is only supported when creating new network interfaces when launching an instance.
      • deviceIndex

        public java.lang.Integer deviceIndex()
        Returns:
        Integer index of the network interface attachment. Limited by instance type.
      • networkCardIndex

        public java.util.Optional<java.lang.Integer> networkCardIndex()
        Returns:
        Integer index of the network card. Limited by instance type. The default index is `0`.
      • networkInterfaceId

        public java.lang.String networkInterfaceId()
        Returns:
        ID of the network interface to attach.