Class NetworkInterfaceState.Builder

  • Enclosing class:
    NetworkInterfaceState

    public static final class NetworkInterfaceState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public NetworkInterfaceState.Builder arn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the network interface.
        Returns:
        builder
      • attachments

        public NetworkInterfaceState.Builder attachments​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<NetworkInterfaceAttachmentArgs>> attachments)
        Parameters:
        attachments - Configuration block to define the attachment of the ENI. See Attachment below for more details!
        Returns:
        builder
      • description

        public NetworkInterfaceState.Builder description​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description for the network interface.
        Returns:
        builder
      • description

        public NetworkInterfaceState.Builder description​(java.lang.String description)
        Parameters:
        description - Description for the network interface.
        Returns:
        builder
      • interfaceType

        public NetworkInterfaceState.Builder interfaceType​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> interfaceType)
        Parameters:
        interfaceType - Type of network interface to create. Set to `efa` for Elastic Fabric Adapter. Changing `interface_type` will cause the resource to be destroyed and re-created.
        Returns:
        builder
      • interfaceType

        public NetworkInterfaceState.Builder interfaceType​(java.lang.String interfaceType)
        Parameters:
        interfaceType - Type of network interface to create. Set to `efa` for Elastic Fabric Adapter. Changing `interface_type` will cause the resource to be destroyed and re-created.
        Returns:
        builder
      • ipv4PrefixCount

        public NetworkInterfaceState.Builder ipv4PrefixCount​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> ipv4PrefixCount)
        Parameters:
        ipv4PrefixCount - Number of IPv4 prefixes that AWS automatically assigns to the network interface.
        Returns:
        builder
      • ipv4PrefixCount

        public NetworkInterfaceState.Builder ipv4PrefixCount​(java.lang.Integer ipv4PrefixCount)
        Parameters:
        ipv4PrefixCount - Number of IPv4 prefixes that AWS automatically assigns to the network interface.
        Returns:
        builder
      • ipv4Prefixes

        public NetworkInterfaceState.Builder ipv4Prefixes​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> ipv4Prefixes)
        Parameters:
        ipv4Prefixes - One or more IPv4 prefixes assigned to the network interface.
        Returns:
        builder
      • ipv4Prefixes

        public NetworkInterfaceState.Builder ipv4Prefixes​(java.util.List<java.lang.String> ipv4Prefixes)
        Parameters:
        ipv4Prefixes - One or more IPv4 prefixes assigned to the network interface.
        Returns:
        builder
      • ipv4Prefixes

        public NetworkInterfaceState.Builder ipv4Prefixes​(java.lang.String... ipv4Prefixes)
        Parameters:
        ipv4Prefixes - One or more IPv4 prefixes assigned to the network interface.
        Returns:
        builder
      • ipv6AddressCount

        public NetworkInterfaceState.Builder ipv6AddressCount​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Integer> ipv6AddressCount)
        Parameters:
        ipv6AddressCount - Number of IPv6 addresses to assign to a network interface. You can't use this option if specifying specific `ipv6_addresses`. If your subnet has the AssignIpv6AddressOnCreation attribute set to `true`, you can specify `0` to override this setting.
        Returns:
        builder
      • ipv6AddressCount

        public NetworkInterfaceState.Builder ipv6AddressCount​(java.lang.Integer ipv6AddressCount)
        Parameters:
        ipv6AddressCount - Number of IPv6 addresses to assign to a network interface. You can't use this option if specifying specific `ipv6_addresses`. If your subnet has the AssignIpv6AddressOnCreation attribute set to `true`, you can specify `0` to override this setting.
        Returns:
        builder
      • ipv6AddressListEnabled

        public NetworkInterfaceState.Builder ipv6AddressListEnabled​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> ipv6AddressListEnabled)
        Parameters:
        ipv6AddressListEnabled - Whether `ipv6_address_list` is allowed and controls the IPs to assign to the ENI and `ipv6_addresses` and `ipv6_address_count` become read-only. Default false.
        Returns:
        builder
      • ipv6AddressListEnabled

        public NetworkInterfaceState.Builder ipv6AddressListEnabled​(java.lang.Boolean ipv6AddressListEnabled)
        Parameters:
        ipv6AddressListEnabled - Whether `ipv6_address_list` is allowed and controls the IPs to assign to the ENI and `ipv6_addresses` and `ipv6_address_count` become read-only. Default false.
        Returns:
        builder
      • ipv6AddressLists

        public NetworkInterfaceState.Builder ipv6AddressLists​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6AddressLists)
        Parameters:
        ipv6AddressLists - List of private IPs to assign to the ENI in sequential order.
        Returns:
        builder
      • ipv6AddressLists

        public NetworkInterfaceState.Builder ipv6AddressLists​(java.util.List<java.lang.String> ipv6AddressLists)
        Parameters:
        ipv6AddressLists - List of private IPs to assign to the ENI in sequential order.
        Returns:
        builder
      • ipv6AddressLists

        public NetworkInterfaceState.Builder ipv6AddressLists​(java.lang.String... ipv6AddressLists)
        Parameters:
        ipv6AddressLists - List of private IPs to assign to the ENI in sequential order.
        Returns:
        builder
      • ipv6Addresses

        public NetworkInterfaceState.Builder ipv6Addresses​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6Addresses)
        Parameters:
        ipv6Addresses - One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Addresses are assigned without regard to order. You can't use this option if you're specifying `ipv6_address_count`.
        Returns:
        builder
      • ipv6Addresses

        public NetworkInterfaceState.Builder ipv6Addresses​(java.util.List<java.lang.String> ipv6Addresses)
        Parameters:
        ipv6Addresses - One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Addresses are assigned without regard to order. You can't use this option if you're specifying `ipv6_address_count`.
        Returns:
        builder
      • ipv6Addresses

        public NetworkInterfaceState.Builder ipv6Addresses​(java.lang.String... ipv6Addresses)
        Parameters:
        ipv6Addresses - One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Addresses are assigned without regard to order. You can't use this option if you're specifying `ipv6_address_count`.
        Returns:
        builder
      • ipv6PrefixCount

        public NetworkInterfaceState.Builder ipv6PrefixCount​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> ipv6PrefixCount)
        Parameters:
        ipv6PrefixCount - Number of IPv6 prefixes that AWS automatically assigns to the network interface.
        Returns:
        builder
      • ipv6PrefixCount

        public NetworkInterfaceState.Builder ipv6PrefixCount​(java.lang.Integer ipv6PrefixCount)
        Parameters:
        ipv6PrefixCount - Number of IPv6 prefixes that AWS automatically assigns to the network interface.
        Returns:
        builder
      • ipv6Prefixes

        public NetworkInterfaceState.Builder ipv6Prefixes​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6Prefixes)
        Parameters:
        ipv6Prefixes - One or more IPv6 prefixes assigned to the network interface.
        Returns:
        builder
      • ipv6Prefixes

        public NetworkInterfaceState.Builder ipv6Prefixes​(java.util.List<java.lang.String> ipv6Prefixes)
        Parameters:
        ipv6Prefixes - One or more IPv6 prefixes assigned to the network interface.
        Returns:
        builder
      • ipv6Prefixes

        public NetworkInterfaceState.Builder ipv6Prefixes​(java.lang.String... ipv6Prefixes)
        Parameters:
        ipv6Prefixes - One or more IPv6 prefixes assigned to the network interface.
        Returns:
        builder
      • macAddress

        public NetworkInterfaceState.Builder macAddress​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> macAddress)
        Parameters:
        macAddress - MAC address of the network interface.
        Returns:
        builder
      • macAddress

        public NetworkInterfaceState.Builder macAddress​(java.lang.String macAddress)
        Parameters:
        macAddress - MAC address of the network interface.
        Returns:
        builder
      • ownerId

        public NetworkInterfaceState.Builder ownerId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - AWS account ID of the owner of the network interface.
        Returns:
        builder
      • ownerId

        public NetworkInterfaceState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - AWS account ID of the owner of the network interface.
        Returns:
        builder
      • privateDnsName

        public NetworkInterfaceState.Builder privateDnsName​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> privateDnsName)
        Parameters:
        privateDnsName - Private DNS name of the network interface (IPv4).
        Returns:
        builder
      • privateDnsName

        public NetworkInterfaceState.Builder privateDnsName​(java.lang.String privateDnsName)
        Parameters:
        privateDnsName - Private DNS name of the network interface (IPv4).
        Returns:
        builder
      • privateIpListEnabled

        public NetworkInterfaceState.Builder privateIpListEnabled​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> privateIpListEnabled)
        Parameters:
        privateIpListEnabled - Whether `private_ip_list` is allowed and controls the IPs to assign to the ENI and `private_ips` and `private_ips_count` become read-only. Default false.
        Returns:
        builder
      • privateIpListEnabled

        public NetworkInterfaceState.Builder privateIpListEnabled​(java.lang.Boolean privateIpListEnabled)
        Parameters:
        privateIpListEnabled - Whether `private_ip_list` is allowed and controls the IPs to assign to the ENI and `private_ips` and `private_ips_count` become read-only. Default false.
        Returns:
        builder
      • privateIpLists

        public NetworkInterfaceState.Builder privateIpLists​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> privateIpLists)
        Parameters:
        privateIpLists - List of private IPs to assign to the ENI in sequential order. Requires setting `private_ip_list_enabled` to `true`.
        Returns:
        builder
      • privateIpLists

        public NetworkInterfaceState.Builder privateIpLists​(java.util.List<java.lang.String> privateIpLists)
        Parameters:
        privateIpLists - List of private IPs to assign to the ENI in sequential order. Requires setting `private_ip_list_enabled` to `true`.
        Returns:
        builder
      • privateIpLists

        public NetworkInterfaceState.Builder privateIpLists​(java.lang.String... privateIpLists)
        Parameters:
        privateIpLists - List of private IPs to assign to the ENI in sequential order. Requires setting `private_ip_list_enabled` to `true`.
        Returns:
        builder
      • privateIps

        public NetworkInterfaceState.Builder privateIps​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<java.lang.String>> privateIps)
        Parameters:
        privateIps - List of private IPs to assign to the ENI without regard to order.
        Returns:
        builder
      • privateIps

        public NetworkInterfaceState.Builder privateIps​(java.util.List<java.lang.String> privateIps)
        Parameters:
        privateIps - List of private IPs to assign to the ENI without regard to order.
        Returns:
        builder
      • privateIps

        public NetworkInterfaceState.Builder privateIps​(java.lang.String... privateIps)
        Parameters:
        privateIps - List of private IPs to assign to the ENI without regard to order.
        Returns:
        builder
      • privateIpsCount

        public NetworkInterfaceState.Builder privateIpsCount​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> privateIpsCount)
        Parameters:
        privateIpsCount - Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + `private_ips_count`, as a primary private IP will be assiged to an ENI by default.
        Returns:
        builder
      • privateIpsCount

        public NetworkInterfaceState.Builder privateIpsCount​(java.lang.Integer privateIpsCount)
        Parameters:
        privateIpsCount - Number of secondary private IPs to assign to the ENI. The total number of private IPs will be 1 + `private_ips_count`, as a primary private IP will be assiged to an ENI by default.
        Returns:
        builder
      • securityGroups

        public NetworkInterfaceState.Builder securityGroups​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroups)
        Parameters:
        securityGroups - List of security group IDs to assign to the ENI.
        Returns:
        builder
      • securityGroups

        public NetworkInterfaceState.Builder securityGroups​(java.util.List<java.lang.String> securityGroups)
        Parameters:
        securityGroups - List of security group IDs to assign to the ENI.
        Returns:
        builder
      • securityGroups

        public NetworkInterfaceState.Builder securityGroups​(java.lang.String... securityGroups)
        Parameters:
        securityGroups - List of security group IDs to assign to the ENI.
        Returns:
        builder
      • sourceDestCheck

        public NetworkInterfaceState.Builder sourceDestCheck​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> sourceDestCheck)
        Parameters:
        sourceDestCheck - Whether to enable source destination checking for the ENI. Default true.
        Returns:
        builder
      • sourceDestCheck

        public NetworkInterfaceState.Builder sourceDestCheck​(java.lang.Boolean sourceDestCheck)
        Parameters:
        sourceDestCheck - Whether to enable source destination checking for the ENI. Default true.
        Returns:
        builder
      • subnetId

        public NetworkInterfaceState.Builder subnetId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> subnetId)
        Parameters:
        subnetId - Subnet ID to create the ENI in. The following arguments are optional:
        Returns:
        builder
      • subnetId

        public NetworkInterfaceState.Builder subnetId​(java.lang.String subnetId)
        Parameters:
        subnetId - Subnet ID to create the ENI in. The following arguments are optional:
        Returns:
        builder
      • tags

        public NetworkInterfaceState.Builder tags​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public NetworkInterfaceState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public NetworkInterfaceState.Builder tagsAll​(@Nullable
                                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public NetworkInterfaceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder