Class InstanceSecondaryNetworkInterfaceArgs.Builder

    • Method Detail

      • deleteOnTermination

        public InstanceSecondaryNetworkInterfaceArgs.Builder deleteOnTermination​(@Nullable
                                                                                 com.pulumi.core.Output<java.lang.Boolean> deleteOnTermination)
        Parameters:
        deleteOnTermination - Whether the network interface should be destroyed when the instance is terminated. Defaults to `true`. Forces replacement.
        Returns:
        builder
      • deleteOnTermination

        public InstanceSecondaryNetworkInterfaceArgs.Builder deleteOnTermination​(java.lang.Boolean deleteOnTermination)
        Parameters:
        deleteOnTermination - Whether the network interface should be destroyed when the instance is terminated. Defaults to `true`. Forces replacement.
        Returns:
        builder
      • deviceIndex

        public InstanceSecondaryNetworkInterfaceArgs.Builder deviceIndex​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.Integer> deviceIndex)
        Parameters:
        deviceIndex - Device index for the network interface attachment. Defaults to `0`. Forces replacement.
        Returns:
        builder
      • deviceIndex

        public InstanceSecondaryNetworkInterfaceArgs.Builder deviceIndex​(java.lang.Integer deviceIndex)
        Parameters:
        deviceIndex - Device index for the network interface attachment. Defaults to `0`. Forces replacement.
        Returns:
        builder
      • interfaceType

        public InstanceSecondaryNetworkInterfaceArgs.Builder interfaceType​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> interfaceType)
        Parameters:
        interfaceType - Type of network interface. Currently only `secondary` is supported. Defaults to `secondary`. Forces replacement.
        Returns:
        builder
      • interfaceType

        public InstanceSecondaryNetworkInterfaceArgs.Builder interfaceType​(java.lang.String interfaceType)
        Parameters:
        interfaceType - Type of network interface. Currently only `secondary` is supported. Defaults to `secondary`. Forces replacement.
        Returns:
        builder
      • networkCardIndex

        public InstanceSecondaryNetworkInterfaceArgs.Builder networkCardIndex​(com.pulumi.core.Output<java.lang.Integer> networkCardIndex)
        Parameters:
        networkCardIndex - Network card index for the interface. Each network card can have one secondary interface. Forces replacement.
        Returns:
        builder
      • networkCardIndex

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

        public InstanceSecondaryNetworkInterfaceArgs.Builder privateIpAddressCount​(@Nullable
                                                                                   com.pulumi.core.Output<java.lang.Integer> privateIpAddressCount)
        Parameters:
        privateIpAddressCount - Number of private IP addresses to assign to the network interface. Defaults to `1`. Forces replacement.
        Returns:
        builder
      • privateIpAddressCount

        public InstanceSecondaryNetworkInterfaceArgs.Builder privateIpAddressCount​(java.lang.Integer privateIpAddressCount)
        Parameters:
        privateIpAddressCount - Number of private IP addresses to assign to the network interface. Defaults to `1`. Forces replacement.
        Returns:
        builder
      • privateIpAddresses

        public InstanceSecondaryNetworkInterfaceArgs.Builder privateIpAddresses​(@Nullable
                                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> privateIpAddresses)
        Parameters:
        privateIpAddresses - 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.
        Returns:
        builder
      • privateIpAddresses

        public InstanceSecondaryNetworkInterfaceArgs.Builder privateIpAddresses​(java.util.List<java.lang.String> privateIpAddresses)
        Parameters:
        privateIpAddresses - 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.
        Returns:
        builder
      • privateIpAddresses

        public InstanceSecondaryNetworkInterfaceArgs.Builder privateIpAddresses​(java.lang.String... privateIpAddresses)
        Parameters:
        privateIpAddresses - 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.
        Returns:
        builder
      • secondarySubnetId

        public InstanceSecondaryNetworkInterfaceArgs.Builder secondarySubnetId​(com.pulumi.core.Output<java.lang.String> secondarySubnetId)
        Parameters:
        secondarySubnetId - ID of the secondary subnet in which to create the network interface. Forces replacement.
        Returns:
        builder
      • secondarySubnetId

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

        public InstanceSecondaryNetworkInterfaceArgs.Builder sourceDestCheck​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.Boolean> sourceDestCheck)
        Parameters:
        sourceDestCheck - Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
        Returns:
        builder
      • sourceDestCheck

        public InstanceSecondaryNetworkInterfaceArgs.Builder sourceDestCheck​(java.lang.Boolean sourceDestCheck)
        Parameters:
        sourceDestCheck - Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. Defaults true.
        Returns:
        builder