Class SpotInstanceRequestSecondaryNetworkInterface


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

      • deleteOnTermination

        public java.util.Optional<java.lang.Boolean> deleteOnTermination()
        Returns:
        Whether the network interface should be destroyed when the instance is terminated. Defaults to `true`. Forces replacement.
      • deviceIndex

        public java.util.Optional<java.lang.Integer> deviceIndex()
        Returns:
        Device index for the network interface attachment. Defaults to `0`. Forces replacement.
      • interfaceType

        public java.util.Optional<java.lang.String> interfaceType()
        Returns:
        Type of network interface. Currently only `secondary` is supported. Defaults to `secondary`. Forces replacement.
      • macAddress

        public java.util.Optional<java.lang.String> macAddress()
      • networkCardIndex

        public java.lang.Integer networkCardIndex()
        Returns:
        Network card index for the interface. Each network card can have one secondary interface. Forces replacement.
      • privateIpAddressCount

        public java.util.Optional<java.lang.Integer> privateIpAddressCount()
        Returns:
        Number of private IP addresses to assign to the network interface. Defaults to `1`. Forces replacement.
      • privateIpAddresses

        public java.util.List<java.lang.String> privateIpAddresses()
        Returns:
        List of private IP addresses to assign to the network interface. If not specified, AWS will automatically assign IP addresses based on `privateIpAddressCount`. Forces replacement.
      • secondaryInterfaceId

        public java.util.Optional<java.lang.String> secondaryInterfaceId()
      • secondaryNetworkId

        public java.util.Optional<java.lang.String> secondaryNetworkId()
      • secondarySubnetId

        public java.lang.String secondarySubnetId()
        Returns:
        ID of the secondary subnet in which to create the network interface. Forces replacement.
      • sourceDestCheck

        public java.util.Optional<java.lang.Boolean> sourceDestCheck()
        Returns:
        Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
      • status

        public java.util.Optional<java.lang.String> status()