Class LoadBalancerArgs.Builder

  • Enclosing class:
    LoadBalancerArgs

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

      • Builder

        public Builder()
    • Method Detail

      • clientKeepAlive

        public LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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
      • dnsRecordClientRoutingPolicy

        public LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.Builder enableHttp2​(java.lang.Boolean enableHttp2)
        Parameters:
        enableHttp2 - Whether HTTP/2 is enabled in `application` load balancers. Defaults to `true`.
        Returns:
        builder
      • enablePrefixForIpv6SourceNat

        public LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.Builder enableZonalShift​(java.lang.Boolean enableZonalShift)
        Parameters:
        enableZonalShift - Whether zonal shift is enabled. Defaults to `false`.
        Returns:
        builder
      • enforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        public LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.Builder internal​(java.lang.Boolean internal)
        Parameters:
        internal - If true, the LB will be internal. Defaults to `false`.
        Returns:
        builder
      • ipAddressType

        public LoadBalancerArgs.Builder ipAddressType​(@Nullable
                                                      com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​IpAddressType>> 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 LoadBalancerArgs.Builder ipAddressType​(com.pulumi.core.Either<java.lang.String,​IpAddressType> 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 LoadBalancerArgs.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
      • ipAddressType

        public LoadBalancerArgs.Builder ipAddressType​(IpAddressType 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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.Builder loadBalancerType​(@Nullable
                                                         com.pulumi.core.Output<LoadBalancerType> 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 LoadBalancerArgs.Builder loadBalancerType​(LoadBalancerType 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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.Builder namePrefix​(java.lang.String namePrefix)
        Parameters:
        namePrefix - Creates a unique name beginning with the specified prefix. Conflicts with `name`.
        Returns:
        builder
      • preserveHostHeader

        public LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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 LoadBalancerArgs.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
      • xffHeaderProcessingMode

        public LoadBalancerArgs.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 LoadBalancerArgs.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