Class LoadBalancerState.Builder

  • Enclosing class:
    LoadBalancerState

    public static final class LoadBalancerState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public LoadBalancerState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the load balancer.
        Returns:
        builder
      • arn

        public LoadBalancerState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the load balancer.
        Returns:
        builder
      • arnSuffix

        public LoadBalancerState.Builder arnSuffix​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> arnSuffix)
        Parameters:
        arnSuffix - ARN suffix for use with CloudWatch Metrics.
        Returns:
        builder
      • arnSuffix

        public LoadBalancerState.Builder arnSuffix​(java.lang.String arnSuffix)
        Parameters:
        arnSuffix - ARN suffix for use with CloudWatch Metrics.
        Returns:
        builder
      • clientKeepAlive

        public LoadBalancerState.Builder clientKeepAlive​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> clientKeepAlive)
        Parameters:
        clientKeepAlive - Client keep alive value in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds.
        Returns:
        builder
      • clientKeepAlive

        public LoadBalancerState.Builder clientKeepAlive​(java.lang.Integer clientKeepAlive)
        Parameters:
        clientKeepAlive - Client keep alive value in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds.
        Returns:
        builder
      • connectionLogs

        public LoadBalancerState.Builder connectionLogs​(@Nullable
                                                        com.pulumi.core.Output<LoadBalancerConnectionLogsArgs> connectionLogs)
        Parameters:
        connectionLogs - Connection Logs block. See below. Only valid for Load Balancers of type `application`.
        Returns:
        builder
      • customerOwnedIpv4Pool

        public LoadBalancerState.Builder customerOwnedIpv4Pool​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> customerOwnedIpv4Pool)
        Parameters:
        customerOwnedIpv4Pool - ID of the customer owned ipv4 pool to use for this load balancer.
        Returns:
        builder
      • customerOwnedIpv4Pool

        public LoadBalancerState.Builder customerOwnedIpv4Pool​(java.lang.String customerOwnedIpv4Pool)
        Parameters:
        customerOwnedIpv4Pool - ID of the customer owned ipv4 pool to use for this load balancer.
        Returns:
        builder
      • desyncMitigationMode

        public LoadBalancerState.Builder desyncMitigationMode​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> desyncMitigationMode)
        Parameters:
        desyncMitigationMode - How the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`.
        Returns:
        builder
      • desyncMitigationMode

        public LoadBalancerState.Builder desyncMitigationMode​(java.lang.String desyncMitigationMode)
        Parameters:
        desyncMitigationMode - How the load balancer handles requests that might pose a security risk to an application due to HTTP desync. Valid values are `monitor`, `defensive` (default), `strictest`.
        Returns:
        builder
      • dnsName

        public LoadBalancerState.Builder dnsName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> dnsName)
        Parameters:
        dnsName - DNS name of the load balancer. * `subnet_mapping.*.outpost_id` - ID of the Outpost containing the load balancer.
        Returns:
        builder
      • dnsName

        public LoadBalancerState.Builder dnsName​(java.lang.String dnsName)
        Parameters:
        dnsName - DNS name of the load balancer. * `subnet_mapping.*.outpost_id` - ID of the Outpost containing the load balancer.
        Returns:
        builder
      • dnsRecordClientRoutingPolicy

        public LoadBalancerState.Builder dnsRecordClientRoutingPolicy​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> dnsRecordClientRoutingPolicy)
        Parameters:
        dnsRecordClientRoutingPolicy - How traffic is distributed among the load balancer Availability Zones. Possible values are `anyAvailabilityZone` (default), `availabilityZoneAffinity`, or `partialAvailabilityZoneAffinity`. See [Availability Zone DNS affinity](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#zonal-dns-affinity) for additional details. Only valid for `network` type load balancers.
        Returns:
        builder
      • dnsRecordClientRoutingPolicy

        public LoadBalancerState.Builder dnsRecordClientRoutingPolicy​(java.lang.String dnsRecordClientRoutingPolicy)
        Parameters:
        dnsRecordClientRoutingPolicy - How traffic is distributed among the load balancer Availability Zones. Possible values are `anyAvailabilityZone` (default), `availabilityZoneAffinity`, or `partialAvailabilityZoneAffinity`. See [Availability Zone DNS affinity](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#zonal-dns-affinity) for additional details. Only valid for `network` type load balancers.
        Returns:
        builder
      • dropInvalidHeaderFields

        public LoadBalancerState.Builder dropInvalidHeaderFields​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> dropInvalidHeaderFields)
        Parameters:
        dropInvalidHeaderFields - Whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type `application`.
        Returns:
        builder
      • dropInvalidHeaderFields

        public LoadBalancerState.Builder dropInvalidHeaderFields​(java.lang.Boolean dropInvalidHeaderFields)
        Parameters:
        dropInvalidHeaderFields - Whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type `application`.
        Returns:
        builder
      • enableCrossZoneLoadBalancing

        public LoadBalancerState.Builder enableCrossZoneLoadBalancing​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> enableCrossZoneLoadBalancing)
        Parameters:
        enableCrossZoneLoadBalancing - If true, cross-zone load balancing of the load balancer will be enabled. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. Defaults to `false`.
        Returns:
        builder
      • enableCrossZoneLoadBalancing

        public LoadBalancerState.Builder enableCrossZoneLoadBalancing​(java.lang.Boolean enableCrossZoneLoadBalancing)
        Parameters:
        enableCrossZoneLoadBalancing - If true, cross-zone load balancing of the load balancer will be enabled. For `network` and `gateway` type load balancers, this feature is disabled by default (`false`). For `application` load balancer this feature is always enabled (`true`) and cannot be disabled. Defaults to `false`.
        Returns:
        builder
      • enableDeletionProtection

        public LoadBalancerState.Builder enableDeletionProtection​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> enableDeletionProtection)
        Parameters:
        enableDeletionProtection - If true, deletion of the load balancer will be disabled via the AWS API. This will prevent this provider from deleting the load balancer. Defaults to `false`.
        Returns:
        builder
      • enableDeletionProtection

        public LoadBalancerState.Builder enableDeletionProtection​(java.lang.Boolean enableDeletionProtection)
        Parameters:
        enableDeletionProtection - If true, deletion of the load balancer will be disabled via the AWS API. This will prevent this provider from deleting the load balancer. Defaults to `false`.
        Returns:
        builder
      • enableHttp2

        public LoadBalancerState.Builder enableHttp2​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> enableHttp2)
        Parameters:
        enableHttp2 - Whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
        Returns:
        builder
      • enableHttp2

        public LoadBalancerState.Builder enableHttp2​(java.lang.Boolean enableHttp2)
        Parameters:
        enableHttp2 - Whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
        Returns:
        builder
      • enablePrefixForIpv6SourceNat

        public LoadBalancerState.Builder enablePrefixForIpv6SourceNat​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> enablePrefixForIpv6SourceNat)
        Parameters:
        enablePrefixForIpv6SourceNat - Whether to use an IPv6 prefix from each subnet for source NAT. `ipAddressType` must be `dualstack`. Valid values: `on`, `off`.
        Returns:
        builder
      • enablePrefixForIpv6SourceNat

        public LoadBalancerState.Builder enablePrefixForIpv6SourceNat​(java.lang.String enablePrefixForIpv6SourceNat)
        Parameters:
        enablePrefixForIpv6SourceNat - Whether to use an IPv6 prefix from each subnet for source NAT. `ipAddressType` must be `dualstack`. Valid values: `on`, `off`.
        Returns:
        builder
      • enableTlsVersionAndCipherSuiteHeaders

        public LoadBalancerState.Builder enableTlsVersionAndCipherSuiteHeaders​(@Nullable
                                                                               com.pulumi.core.Output<java.lang.Boolean> enableTlsVersionAndCipherSuiteHeaders)
        Parameters:
        enableTlsVersionAndCipherSuiteHeaders - Whether the two headers (`x-amzn-tls-version` and `x-amzn-tls-cipher-suite`), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. Only valid for Load Balancers of type `application`. Defaults to `false`
        Returns:
        builder
      • enableTlsVersionAndCipherSuiteHeaders

        public LoadBalancerState.Builder enableTlsVersionAndCipherSuiteHeaders​(java.lang.Boolean enableTlsVersionAndCipherSuiteHeaders)
        Parameters:
        enableTlsVersionAndCipherSuiteHeaders - Whether the two headers (`x-amzn-tls-version` and `x-amzn-tls-cipher-suite`), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. Only valid for Load Balancers of type `application`. Defaults to `false`
        Returns:
        builder
      • enableWafFailOpen

        public LoadBalancerState.Builder enableWafFailOpen​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> enableWafFailOpen)
        Parameters:
        enableWafFailOpen - Whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to AWS WAF. Defaults to `false`.
        Returns:
        builder
      • enableWafFailOpen

        public LoadBalancerState.Builder enableWafFailOpen​(java.lang.Boolean enableWafFailOpen)
        Parameters:
        enableWafFailOpen - Whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to AWS WAF. Defaults to `false`.
        Returns:
        builder
      • enableXffClientPort

        public LoadBalancerState.Builder enableXffClientPort​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> enableXffClientPort)
        Parameters:
        enableXffClientPort - Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`.
        Returns:
        builder
      • enableXffClientPort

        public LoadBalancerState.Builder enableXffClientPort​(java.lang.Boolean enableXffClientPort)
        Parameters:
        enableXffClientPort - Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`.
        Returns:
        builder
      • enableZonalShift

        public LoadBalancerState.Builder enableZonalShift​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> enableZonalShift)
        Parameters:
        enableZonalShift - Whether zonal shift is enabled. Defaults to `false`.
        Returns:
        builder
      • enableZonalShift

        public LoadBalancerState.Builder enableZonalShift​(java.lang.Boolean enableZonalShift)
        Parameters:
        enableZonalShift - Whether zonal shift is enabled. Defaults to `false`.
        Returns:
        builder
      • enforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        public LoadBalancerState.Builder enforceSecurityGroupInboundRulesOnPrivateLinkTraffic​(@Nullable
                                                                                              com.pulumi.core.Output<java.lang.String> enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
        Parameters:
        enforceSecurityGroupInboundRulesOnPrivateLinkTraffic - Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`.
        Returns:
        builder
      • enforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        public LoadBalancerState.Builder enforceSecurityGroupInboundRulesOnPrivateLinkTraffic​(java.lang.String enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
        Parameters:
        enforceSecurityGroupInboundRulesOnPrivateLinkTraffic - Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`.
        Returns:
        builder
      • healthCheckLogs

        public LoadBalancerState.Builder healthCheckLogs​(@Nullable
                                                         com.pulumi.core.Output<LoadBalancerHealthCheckLogsArgs> healthCheckLogs)
        Parameters:
        healthCheckLogs - Health Check Logs block. See below. Only valid for Load Balancers of type `application`.
        Returns:
        builder
      • idleTimeout

        public LoadBalancerState.Builder idleTimeout​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Integer> idleTimeout)
        Parameters:
        idleTimeout - Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60.
        Returns:
        builder
      • idleTimeout

        public LoadBalancerState.Builder idleTimeout​(java.lang.Integer idleTimeout)
        Parameters:
        idleTimeout - Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60.
        Returns:
        builder
      • internal

        public LoadBalancerState.Builder internal​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> internal)
        Parameters:
        internal - If true, the LB will be internal. Defaults to `false`.
        Returns:
        builder
      • internal

        public LoadBalancerState.Builder internal​(java.lang.Boolean internal)
        Parameters:
        internal - If true, the LB will be internal. Defaults to `false`.
        Returns:
        builder
      • ipAddressType

        public LoadBalancerState.Builder ipAddressType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> ipAddressType)
        Parameters:
        ipAddressType - Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only).
        Returns:
        builder
      • ipAddressType

        public LoadBalancerState.Builder ipAddressType​(java.lang.String ipAddressType)
        Parameters:
        ipAddressType - Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only).
        Returns:
        builder
      • ipamPools

        public LoadBalancerState.Builder ipamPools​(@Nullable
                                                   com.pulumi.core.Output<LoadBalancerIpamPoolsArgs> ipamPools)
        Parameters:
        ipamPools - . The IPAM pools to use with the load balancer. Only valid for Load Balancers of type `application`. See ipamPools for more information.
        Returns:
        builder
      • ipamPools

        public LoadBalancerState.Builder ipamPools​(LoadBalancerIpamPoolsArgs ipamPools)
        Parameters:
        ipamPools - . The IPAM pools to use with the load balancer. Only valid for Load Balancers of type `application`. See ipamPools for more information.
        Returns:
        builder
      • loadBalancerType

        public LoadBalancerState.Builder loadBalancerType​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> loadBalancerType)
        Parameters:
        loadBalancerType - Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`.
        Returns:
        builder
      • loadBalancerType

        public LoadBalancerState.Builder loadBalancerType​(java.lang.String loadBalancerType)
        Parameters:
        loadBalancerType - Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`.
        Returns:
        builder
      • minimumLoadBalancerCapacity

        public LoadBalancerState.Builder minimumLoadBalancerCapacity​(@Nullable
                                                                     com.pulumi.core.Output<LoadBalancerMinimumLoadBalancerCapacityArgs> minimumLoadBalancerCapacity)
        Parameters:
        minimumLoadBalancerCapacity - Minimum capacity for a load balancer. Only valid for Load Balancers of type `application` or `network`.
        Returns:
        builder
      • name

        public LoadBalancerState.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with `tf-lb`.
        Returns:
        builder
      • name

        public LoadBalancerState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the LB. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen. If not specified, this provider will autogenerate a name beginning with `tf-lb`.
        Returns:
        builder
      • namePrefix

        public LoadBalancerState.Builder namePrefix​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • namePrefix

        public LoadBalancerState.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • preserveHostHeader

        public LoadBalancerState.Builder preserveHostHeader​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> preserveHostHeader)
        Parameters:
        preserveHostHeader - Whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. Defaults to `false`.
        Returns:
        builder
      • preserveHostHeader

        public LoadBalancerState.Builder preserveHostHeader​(java.lang.Boolean preserveHostHeader)
        Parameters:
        preserveHostHeader - Whether the Application Load Balancer should preserve the Host header in the HTTP request and send it to the target without any change. Defaults to `false`.
        Returns:
        builder
      • region

        public LoadBalancerState.Builder region​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public LoadBalancerState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • secondaryIpsAutoAssignedPerSubnet

        public LoadBalancerState.Builder secondaryIpsAutoAssignedPerSubnet​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.Integer> secondaryIpsAutoAssignedPerSubnet)
        Parameters:
        secondaryIpsAutoAssignedPerSubnet - The number of secondary IP addresses to configure for your load balancer nodes. Only valid for Load Balancers of type `network`. The valid range is 0-7. When decreased, this will force a recreation of the resource. Default: `0`.
        Returns:
        builder
      • secondaryIpsAutoAssignedPerSubnet

        public LoadBalancerState.Builder secondaryIpsAutoAssignedPerSubnet​(java.lang.Integer secondaryIpsAutoAssignedPerSubnet)
        Parameters:
        secondaryIpsAutoAssignedPerSubnet - The number of secondary IP addresses to configure for your load balancer nodes. Only valid for Load Balancers of type `network`. The valid range is 0-7. When decreased, this will force a recreation of the resource. Default: `0`.
        Returns:
        builder
      • securityGroups

        public LoadBalancerState.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 LB. Only valid for Load Balancers of type `application` or `network`. For load balancers of type `network` security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource.
        Returns:
        builder
      • securityGroups

        public LoadBalancerState.Builder securityGroups​(java.util.List<java.lang.String> securityGroups)
        Parameters:
        securityGroups - List of security group IDs to assign to the LB. Only valid for Load Balancers of type `application` or `network`. For load balancers of type `network` security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource.
        Returns:
        builder
      • securityGroups

        public LoadBalancerState.Builder securityGroups​(java.lang.String... securityGroups)
        Parameters:
        securityGroups - List of security group IDs to assign to the LB. Only valid for Load Balancers of type `application` or `network`. For load balancers of type `network` security groups cannot be added if none are currently present, and cannot all be removed once added. If either of these conditions are met, this will force a recreation of the resource.
        Returns:
        builder
      • subnetMappings

        public LoadBalancerState.Builder subnetMappings​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<LoadBalancerSubnetMappingArgs>> subnetMappings)
        Parameters:
        subnetMappings - Subnet mapping block. See below. For Load Balancers of type `network` subnet mappings can only be added.
        Returns:
        builder
      • subnetMappings

        public LoadBalancerState.Builder subnetMappings​(java.util.List<LoadBalancerSubnetMappingArgs> subnetMappings)
        Parameters:
        subnetMappings - Subnet mapping block. See below. For Load Balancers of type `network` subnet mappings can only be added.
        Returns:
        builder
      • subnetMappings

        public LoadBalancerState.Builder subnetMappings​(LoadBalancerSubnetMappingArgs... subnetMappings)
        Parameters:
        subnetMappings - Subnet mapping block. See below. For Load Balancers of type `network` subnet mappings can only be added.
        Returns:
        builder
      • subnets

        public LoadBalancerState.Builder subnets​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> subnets)
        Parameters:
        subnets - List of subnet IDs to attach to the LB. For Load Balancers of type `network` subnets can only be added (see [Availability Zones](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#availability-zones)), deleting a subnet for load balancers of type `network` will force a recreation of the resource.
        Returns:
        builder
      • subnets

        public LoadBalancerState.Builder subnets​(java.util.List<java.lang.String> subnets)
        Parameters:
        subnets - List of subnet IDs to attach to the LB. For Load Balancers of type `network` subnets can only be added (see [Availability Zones](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#availability-zones)), deleting a subnet for load balancers of type `network` will force a recreation of the resource.
        Returns:
        builder
      • subnets

        public LoadBalancerState.Builder subnets​(java.lang.String... subnets)
        Parameters:
        subnets - List of subnet IDs to attach to the LB. For Load Balancers of type `network` subnets can only be added (see [Availability Zones](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#availability-zones)), deleting a subnet for load balancers of type `network` will force a recreation of the resource.
        Returns:
        builder
      • tags

        public LoadBalancerState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public LoadBalancerState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        public LoadBalancerState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • xffHeaderProcessingMode

        public LoadBalancerState.Builder xffHeaderProcessingMode​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> xffHeaderProcessingMode)
        Parameters:
        xffHeaderProcessingMode - Determines how the load balancer modifies the `X-Forwarded-For` header in the HTTP request before sending the request to the target. The possible values are `append`, `preserve`, and `remove`. Only valid for Load Balancers of type `application`. The default is `append`. > **NOTE:** Please note that internal LBs can only use `ipv4` as the `ipAddressType`. You can only change to `dualstack` `ipAddressType` if the selected subnets are IPv6 enabled. > **NOTE:** Please note that one of either `subnets` or `subnetMapping` is required.
        Returns:
        builder
      • xffHeaderProcessingMode

        public LoadBalancerState.Builder xffHeaderProcessingMode​(java.lang.String xffHeaderProcessingMode)
        Parameters:
        xffHeaderProcessingMode - Determines how the load balancer modifies the `X-Forwarded-For` header in the HTTP request before sending the request to the target. The possible values are `append`, `preserve`, and `remove`. Only valid for Load Balancers of type `application`. The default is `append`. > **NOTE:** Please note that internal LBs can only use `ipv4` as the `ipAddressType`. You can only change to `dualstack` `ipAddressType` if the selected subnets are IPv6 enabled. > **NOTE:** Please note that one of either `subnets` or `subnetMapping` is required.
        Returns:
        builder
      • zoneId

        public LoadBalancerState.Builder zoneId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> zoneId)
        Parameters:
        zoneId - Canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).
        Returns:
        builder
      • zoneId

        public LoadBalancerState.Builder zoneId​(java.lang.String zoneId)
        Parameters:
        zoneId - Canonical hosted zone ID of the load balancer (to be used in a Route 53 Alias record).
        Returns:
        builder