Package com.pulumi.alicloud.ecs.inputs
Class EcsNetworkInterfaceState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.ecs.inputs.EcsNetworkInterfaceState.Builder
-
- Enclosing class:
- EcsNetworkInterfaceState
public static final class EcsNetworkInterfaceState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EcsNetworkInterfaceState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EcsNetworkInterfaceState
build()
EcsNetworkInterfaceState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
EcsNetworkInterfaceState.Builder
description(java.lang.String description)
EcsNetworkInterfaceState.Builder
ipv4PrefixCount(com.pulumi.core.Output<java.lang.Integer> ipv4PrefixCount)
EcsNetworkInterfaceState.Builder
ipv4PrefixCount(java.lang.Integer ipv4PrefixCount)
EcsNetworkInterfaceState.Builder
ipv4Prefixes(com.pulumi.core.Output<java.util.List<java.lang.String>> ipv4Prefixes)
EcsNetworkInterfaceState.Builder
ipv4Prefixes(java.lang.String... ipv4Prefixes)
EcsNetworkInterfaceState.Builder
ipv4Prefixes(java.util.List<java.lang.String> ipv4Prefixes)
EcsNetworkInterfaceState.Builder
ipv6AddressCount(com.pulumi.core.Output<java.lang.Integer> ipv6AddressCount)
EcsNetworkInterfaceState.Builder
ipv6AddressCount(java.lang.Integer ipv6AddressCount)
EcsNetworkInterfaceState.Builder
ipv6Addresses(com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6Addresses)
EcsNetworkInterfaceState.Builder
ipv6Addresses(java.lang.String... ipv6Addresses)
EcsNetworkInterfaceState.Builder
ipv6Addresses(java.util.List<java.lang.String> ipv6Addresses)
EcsNetworkInterfaceState.Builder
mac(com.pulumi.core.Output<java.lang.String> mac)
EcsNetworkInterfaceState.Builder
mac(java.lang.String mac)
EcsNetworkInterfaceState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
Deprecated.Field 'name' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
name(java.lang.String name)
Deprecated.Field 'name' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
networkInterfaceName(com.pulumi.core.Output<java.lang.String> networkInterfaceName)
EcsNetworkInterfaceState.Builder
networkInterfaceName(java.lang.String networkInterfaceName)
EcsNetworkInterfaceState.Builder
primaryIpAddress(com.pulumi.core.Output<java.lang.String> primaryIpAddress)
EcsNetworkInterfaceState.Builder
primaryIpAddress(java.lang.String primaryIpAddress)
EcsNetworkInterfaceState.Builder
privateIp(com.pulumi.core.Output<java.lang.String> privateIp)
Deprecated.Field 'private_ip' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
privateIp(java.lang.String privateIp)
Deprecated.Field 'private_ip' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
privateIpAddresses(com.pulumi.core.Output<java.util.List<java.lang.String>> privateIpAddresses)
EcsNetworkInterfaceState.Builder
privateIpAddresses(java.lang.String... privateIpAddresses)
EcsNetworkInterfaceState.Builder
privateIpAddresses(java.util.List<java.lang.String> privateIpAddresses)
EcsNetworkInterfaceState.Builder
privateIps(com.pulumi.core.Output<java.util.List<java.lang.String>> privateIps)
Deprecated.Field 'private_ips' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
privateIps(java.lang.String... privateIps)
Deprecated.Field 'private_ips' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
privateIps(java.util.List<java.lang.String> privateIps)
Deprecated.Field 'private_ips' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
privateIpsCount(com.pulumi.core.Output<java.lang.Integer> privateIpsCount)
Deprecated.Field 'private_ips_count' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
privateIpsCount(java.lang.Integer privateIpsCount)
Deprecated.Field 'private_ips_count' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
queueNumber(com.pulumi.core.Output<java.lang.Integer> queueNumber)
EcsNetworkInterfaceState.Builder
queueNumber(java.lang.Integer queueNumber)
EcsNetworkInterfaceState.Builder
resourceGroupId(com.pulumi.core.Output<java.lang.String> resourceGroupId)
EcsNetworkInterfaceState.Builder
resourceGroupId(java.lang.String resourceGroupId)
EcsNetworkInterfaceState.Builder
secondaryPrivateIpAddressCount(com.pulumi.core.Output<java.lang.Integer> secondaryPrivateIpAddressCount)
EcsNetworkInterfaceState.Builder
secondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)
EcsNetworkInterfaceState.Builder
securityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
EcsNetworkInterfaceState.Builder
securityGroupIds(java.lang.String... securityGroupIds)
EcsNetworkInterfaceState.Builder
securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
EcsNetworkInterfaceState.Builder
securityGroups(com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroups)
Deprecated.Field 'security_groups' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
securityGroups(java.lang.String... securityGroups)
Deprecated.Field 'security_groups' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
securityGroups(java.util.List<java.lang.String> securityGroups)
Deprecated.Field 'security_groups' has been deprecated from provider version 1.123.1.EcsNetworkInterfaceState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
EcsNetworkInterfaceState.Builder
status(java.lang.String status)
EcsNetworkInterfaceState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
EcsNetworkInterfaceState.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
EcsNetworkInterfaceState.Builder
vswitchId(com.pulumi.core.Output<java.lang.String> vswitchId)
EcsNetworkInterfaceState.Builder
vswitchId(java.lang.String vswitchId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EcsNetworkInterfaceState defaults)
-
-
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
-
mac
public EcsNetworkInterfaceState.Builder mac(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
-
status
public EcsNetworkInterfaceState.Builder status(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
-
build
public EcsNetworkInterfaceState build()
-
-