Class EcsNetworkInterfaceState.Builder

  • Enclosing class:
    EcsNetworkInterfaceState

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

      • description

        public EcsNetworkInterfaceState.Builder description​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the ENI. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
        Returns:
        builder
      • description

        public EcsNetworkInterfaceState.Builder description​(java.lang.String description)
        Parameters:
        description - The description of the ENI. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
        Returns:
        builder
      • ipv4PrefixCount

        public EcsNetworkInterfaceState.Builder ipv4PrefixCount​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> ipv4PrefixCount)
        Parameters:
        ipv4PrefixCount - The number of IPv4 prefixes that can be automatically created by ECS. Valid values: 1 to 10. **NOTE:** You cannot specify both the `ipv4_prefixes` and `ipv4_prefix_count` parameters.
        Returns:
        builder
      • ipv4PrefixCount

        public EcsNetworkInterfaceState.Builder ipv4PrefixCount​(java.lang.Integer ipv4PrefixCount)
        Parameters:
        ipv4PrefixCount - The number of IPv4 prefixes that can be automatically created by ECS. Valid values: 1 to 10. **NOTE:** You cannot specify both the `ipv4_prefixes` and `ipv4_prefix_count` parameters.
        Returns:
        builder
      • ipv4Prefixes

        public EcsNetworkInterfaceState.Builder ipv4Prefixes​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<java.lang.String>> ipv4Prefixes)
        Parameters:
        ipv4Prefixes - A list of IPv4 prefixes to be assigned to the ENI. Support up to 10.
        Returns:
        builder
      • ipv4Prefixes

        public EcsNetworkInterfaceState.Builder ipv4Prefixes​(java.util.List<java.lang.String> ipv4Prefixes)
        Parameters:
        ipv4Prefixes - A list of IPv4 prefixes to be assigned to the ENI. Support up to 10.
        Returns:
        builder
      • ipv4Prefixes

        public EcsNetworkInterfaceState.Builder ipv4Prefixes​(java.lang.String... ipv4Prefixes)
        Parameters:
        ipv4Prefixes - A list of IPv4 prefixes to be assigned to the ENI. Support up to 10.
        Returns:
        builder
      • ipv6AddressCount

        public EcsNetworkInterfaceState.Builder ipv6AddressCount​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Integer> ipv6AddressCount)
        Parameters:
        ipv6AddressCount - The number of IPv6 addresses to randomly generate for the primary ENI. Valid values: 1 to 10. **NOTE:** You cannot specify both the `ipv6_addresses` and `ipv6_address_count` parameters.
        Returns:
        builder
      • ipv6AddressCount

        public EcsNetworkInterfaceState.Builder ipv6AddressCount​(java.lang.Integer ipv6AddressCount)
        Parameters:
        ipv6AddressCount - The number of IPv6 addresses to randomly generate for the primary ENI. Valid values: 1 to 10. **NOTE:** You cannot specify both the `ipv6_addresses` and `ipv6_address_count` parameters.
        Returns:
        builder
      • ipv6Addresses

        public EcsNetworkInterfaceState.Builder ipv6Addresses​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6Addresses)
        Parameters:
        ipv6Addresses - A list of IPv6 address to be assigned to the primary ENI. Support up to 10.
        Returns:
        builder
      • ipv6Addresses

        public EcsNetworkInterfaceState.Builder ipv6Addresses​(java.util.List<java.lang.String> ipv6Addresses)
        Parameters:
        ipv6Addresses - A list of IPv6 address to be assigned to the primary ENI. Support up to 10.
        Returns:
        builder
      • ipv6Addresses

        public EcsNetworkInterfaceState.Builder ipv6Addresses​(java.lang.String... ipv6Addresses)
        Parameters:
        ipv6Addresses - A list of IPv6 address to be assigned to the primary ENI. Support up to 10.
        Returns:
        builder
      • mac

        public EcsNetworkInterfaceState.Builder mac​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> mac)
        Parameters:
        mac - The MAC address of the ENI.
        Returns:
        builder
      • name

        @Deprecated
        public EcsNetworkInterfaceState.Builder name​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> name)
        Deprecated.
        Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
        Parameters:
        name - Field `name` has been deprecated from provider version 1.123.1. New field `network_interface_name` instead
        Returns:
        builder
      • name

        @Deprecated
        public EcsNetworkInterfaceState.Builder name​(java.lang.String name)
        Deprecated.
        Field 'name' has been deprecated from provider version 1.123.1. New field 'network_interface_name' instead
        Parameters:
        name - Field `name` has been deprecated from provider version 1.123.1. New field `network_interface_name` instead
        Returns:
        builder
      • networkInterfaceName

        public EcsNetworkInterfaceState.Builder networkInterfaceName​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> networkInterfaceName)
        Parameters:
        networkInterfaceName - The name of the ENI. The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://.
        Returns:
        builder
      • networkInterfaceName

        public EcsNetworkInterfaceState.Builder networkInterfaceName​(java.lang.String networkInterfaceName)
        Parameters:
        networkInterfaceName - The name of the ENI. The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://.
        Returns:
        builder
      • primaryIpAddress

        public EcsNetworkInterfaceState.Builder primaryIpAddress​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> primaryIpAddress)
        Parameters:
        primaryIpAddress - The primary private IP address of the ENI. The specified IP address must be available within the CIDR block of the VSwitch. If this parameter is not specified, an available IP address is assigned from the VSwitch CIDR block at random.
        Returns:
        builder
      • primaryIpAddress

        public EcsNetworkInterfaceState.Builder primaryIpAddress​(java.lang.String primaryIpAddress)
        Parameters:
        primaryIpAddress - The primary private IP address of the ENI. The specified IP address must be available within the CIDR block of the VSwitch. If this parameter is not specified, an available IP address is assigned from the VSwitch CIDR block at random.
        Returns:
        builder
      • privateIp

        @Deprecated
        public EcsNetworkInterfaceState.Builder privateIp​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> privateIp)
        Deprecated.
        Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
        Parameters:
        privateIp - Field `private_ip` has been deprecated from provider version 1.123.1. New field `primary_ip_address` instead
        Returns:
        builder
      • privateIp

        @Deprecated
        public EcsNetworkInterfaceState.Builder privateIp​(java.lang.String privateIp)
        Deprecated.
        Field 'private_ip' has been deprecated from provider version 1.123.1. New field 'primary_ip_address' instead
        Parameters:
        privateIp - Field `private_ip` has been deprecated from provider version 1.123.1. New field `primary_ip_address` instead
        Returns:
        builder
      • privateIpAddresses

        public EcsNetworkInterfaceState.Builder privateIpAddresses​(@Nullable
                                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> privateIpAddresses)
        Parameters:
        privateIpAddresses - Specifies secondary private IP address N of the ENI. This IP address must be an available IP address within the CIDR block of the VSwitch to which the ENI belongs.
        Returns:
        builder
      • privateIpAddresses

        public EcsNetworkInterfaceState.Builder privateIpAddresses​(java.util.List<java.lang.String> privateIpAddresses)
        Parameters:
        privateIpAddresses - Specifies secondary private IP address N of the ENI. This IP address must be an available IP address within the CIDR block of the VSwitch to which the ENI belongs.
        Returns:
        builder
      • privateIpAddresses

        public EcsNetworkInterfaceState.Builder privateIpAddresses​(java.lang.String... privateIpAddresses)
        Parameters:
        privateIpAddresses - Specifies secondary private IP address N of the ENI. This IP address must be an available IP address within the CIDR block of the VSwitch to which the ENI belongs.
        Returns:
        builder
      • privateIps

        @Deprecated
        public EcsNetworkInterfaceState.Builder privateIps​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> privateIps)
        Deprecated.
        Field 'private_ips' has been deprecated from provider version 1.123.1. New field 'private_ip_addresses' instead
        Parameters:
        privateIps - Field `private_ips` has been deprecated from provider version 1.123.1. New field `private_ip_addresses` instead
        Returns:
        builder
      • privateIps

        @Deprecated
        public EcsNetworkInterfaceState.Builder privateIps​(java.util.List<java.lang.String> privateIps)
        Deprecated.
        Field 'private_ips' has been deprecated from provider version 1.123.1. New field 'private_ip_addresses' instead
        Parameters:
        privateIps - Field `private_ips` has been deprecated from provider version 1.123.1. New field `private_ip_addresses` instead
        Returns:
        builder
      • privateIps

        @Deprecated
        public EcsNetworkInterfaceState.Builder privateIps​(java.lang.String... privateIps)
        Deprecated.
        Field 'private_ips' has been deprecated from provider version 1.123.1. New field 'private_ip_addresses' instead
        Parameters:
        privateIps - Field `private_ips` has been deprecated from provider version 1.123.1. New field `private_ip_addresses` instead
        Returns:
        builder
      • privateIpsCount

        @Deprecated
        public EcsNetworkInterfaceState.Builder privateIpsCount​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> privateIpsCount)
        Deprecated.
        Field 'private_ips_count' has been deprecated from provider version 1.123.1. New field 'secondary_private_ip_address_count' instead
        Parameters:
        privateIpsCount - Field `private_ips_count` has been deprecated from provider version 1.123.1. New field `secondary_private_ip_address_count` instead
        Returns:
        builder
      • privateIpsCount

        @Deprecated
        public EcsNetworkInterfaceState.Builder privateIpsCount​(java.lang.Integer privateIpsCount)
        Deprecated.
        Field 'private_ips_count' has been deprecated from provider version 1.123.1. New field 'secondary_private_ip_address_count' instead
        Parameters:
        privateIpsCount - Field `private_ips_count` has been deprecated from provider version 1.123.1. New field `secondary_private_ip_address_count` instead
        Returns:
        builder
      • queueNumber

        public EcsNetworkInterfaceState.Builder queueNumber​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> queueNumber)
        Parameters:
        queueNumber - The queue number of the ENI.
        Returns:
        builder
      • queueNumber

        public EcsNetworkInterfaceState.Builder queueNumber​(java.lang.Integer queueNumber)
        Parameters:
        queueNumber - The queue number of the ENI.
        Returns:
        builder
      • resourceGroupId

        public EcsNetworkInterfaceState.Builder resourceGroupId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> resourceGroupId)
        Parameters:
        resourceGroupId - The resource group id.
        Returns:
        builder
      • resourceGroupId

        public EcsNetworkInterfaceState.Builder resourceGroupId​(java.lang.String resourceGroupId)
        Parameters:
        resourceGroupId - The resource group id.
        Returns:
        builder
      • secondaryPrivateIpAddressCount

        public EcsNetworkInterfaceState.Builder secondaryPrivateIpAddressCount​(@Nullable
                                                                               com.pulumi.core.Output<java.lang.Integer> secondaryPrivateIpAddressCount)
        Parameters:
        secondaryPrivateIpAddressCount - The number of private IP addresses that can be automatically created by ECS.
        Returns:
        builder
      • secondaryPrivateIpAddressCount

        public EcsNetworkInterfaceState.Builder secondaryPrivateIpAddressCount​(java.lang.Integer secondaryPrivateIpAddressCount)
        Parameters:
        secondaryPrivateIpAddressCount - The number of private IP addresses that can be automatically created by ECS.
        Returns:
        builder
      • securityGroupIds

        public EcsNetworkInterfaceState.Builder securityGroupIds​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - The ID of security group N. The security groups and the ENI must belong to the same VPC. The valid values of N are based on the maximum number of security groups to which an ENI can be added.
        Returns:
        builder
      • securityGroupIds

        public EcsNetworkInterfaceState.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - The ID of security group N. The security groups and the ENI must belong to the same VPC. The valid values of N are based on the maximum number of security groups to which an ENI can be added.
        Returns:
        builder
      • securityGroupIds

        public EcsNetworkInterfaceState.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - The ID of security group N. The security groups and the ENI must belong to the same VPC. The valid values of N are based on the maximum number of security groups to which an ENI can be added.
        Returns:
        builder
      • securityGroups

        @Deprecated
        public EcsNetworkInterfaceState.Builder securityGroups​(@Nullable
                                                               com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroups)
        Deprecated.
        Field 'security_groups' has been deprecated from provider version 1.123.1. New field 'security_group_ids' instead
        Parameters:
        securityGroups - Field `security_groups` has been deprecated from provider version 1.123.1. New field `security_group_ids` instead
        Returns:
        builder
      • securityGroups

        @Deprecated
        public EcsNetworkInterfaceState.Builder securityGroups​(java.util.List<java.lang.String> securityGroups)
        Deprecated.
        Field 'security_groups' has been deprecated from provider version 1.123.1. New field 'security_group_ids' instead
        Parameters:
        securityGroups - Field `security_groups` has been deprecated from provider version 1.123.1. New field `security_group_ids` instead
        Returns:
        builder
      • securityGroups

        @Deprecated
        public EcsNetworkInterfaceState.Builder securityGroups​(java.lang.String... securityGroups)
        Deprecated.
        Field 'security_groups' has been deprecated from provider version 1.123.1. New field 'security_group_ids' instead
        Parameters:
        securityGroups - Field `security_groups` has been deprecated from provider version 1.123.1. New field `security_group_ids` instead
        Returns:
        builder
      • status

        public EcsNetworkInterfaceState.Builder status​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The status of the ENI.
        Returns:
        builder
      • tags

        public EcsNetworkInterfaceState.Builder tags​(@Nullable
                                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource.
        Returns:
        builder
      • tags

        public EcsNetworkInterfaceState.Builder tags​(java.util.Map<java.lang.String,​java.lang.Object> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource.
        Returns:
        builder
      • vswitchId

        public EcsNetworkInterfaceState.Builder vswitchId​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> vswitchId)
        Parameters:
        vswitchId - The ID of the VSwitch in the specified VPC. The private IP addresses assigned to the ENI must be available IP addresses within the CIDR block of the VSwitch.
        Returns:
        builder
      • vswitchId

        public EcsNetworkInterfaceState.Builder vswitchId​(java.lang.String vswitchId)
        Parameters:
        vswitchId - The ID of the VSwitch in the specified VPC. The private IP addresses assigned to the ENI must be available IP addresses within the CIDR block of the VSwitch.
        Returns:
        builder