Class NetworkInterfaceAttachmentArgs.Builder

    • Method Detail

      • deviceIndex

        public NetworkInterfaceAttachmentArgs.Builder deviceIndex​(com.pulumi.core.Output<java.lang.Integer> deviceIndex)
        Parameters:
        deviceIndex - Integer to define the devices index.
        Returns:
        builder
      • instance

        public NetworkInterfaceAttachmentArgs.Builder instance​(com.pulumi.core.Output<java.lang.String> instance)
        Parameters:
        instance - ID of the instance to attach to.
        Returns:
        builder
      • networkCardIndex

        public NetworkInterfaceAttachmentArgs.Builder networkCardIndex​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> networkCardIndex)
        Parameters:
        networkCardIndex - Index of the network card. Specify a value greater than 0 when using multiple network cards, which are supported by [some instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#network-cards). The default is 0.
        Returns:
        builder
      • networkCardIndex

        public NetworkInterfaceAttachmentArgs.Builder networkCardIndex​(java.lang.Integer networkCardIndex)
        Parameters:
        networkCardIndex - Index of the network card. Specify a value greater than 0 when using multiple network cards, which are supported by [some instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#network-cards). The default is 0.
        Returns:
        builder