Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.awsconnector.inputs.AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.awsconnector.inputs;
import com.pulumi.azurenative.awsconnector.inputs.LoadBalancerAttributeArgs;
import com.pulumi.azurenative.awsconnector.inputs.SubnetMappingArgs;
import com.pulumi.azurenative.awsconnector.inputs.TagArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Definition of awsElasticLoadBalancingV2LoadBalancer
*
*/
public final class AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs extends com.pulumi.resources.ResourceArgs {
public static final AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs Empty = new AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs();
/**
* Property canonicalHostedZoneID
*
*/
@Import(name="canonicalHostedZoneID")
private @Nullable Output canonicalHostedZoneID;
/**
* @return Property canonicalHostedZoneID
*
*/
public Optional> canonicalHostedZoneID() {
return Optional.ofNullable(this.canonicalHostedZoneID);
}
/**
* Property dnsName
*
*/
@Import(name="dnsName")
private @Nullable Output dnsName;
/**
* @return Property dnsName
*
*/
public Optional> dnsName() {
return Optional.ofNullable(this.dnsName);
}
/**
* Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through privatelink.
*
*/
@Import(name="enforceSecurityGroupInboundRulesOnPrivateLinkTraffic")
private @Nullable Output enforceSecurityGroupInboundRulesOnPrivateLinkTraffic;
/**
* @return Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through privatelink.
*
*/
public Optional> enforceSecurityGroupInboundRulesOnPrivateLinkTraffic() {
return Optional.ofNullable(this.enforceSecurityGroupInboundRulesOnPrivateLinkTraffic);
}
/**
* The IP address type. The possible values are ``ipv4`` (for IPv4 addresses) and ``dualstack`` (for IPv4 and IPv6 addresses). You can’t specify ``dualstack`` for a load balancer with a UDP or TCP_UDP listener.
*
*/
@Import(name="ipAddressType")
private @Nullable Output ipAddressType;
/**
* @return The IP address type. The possible values are ``ipv4`` (for IPv4 addresses) and ``dualstack`` (for IPv4 and IPv6 addresses). You can’t specify ``dualstack`` for a load balancer with a UDP or TCP_UDP listener.
*
*/
public Optional> ipAddressType() {
return Optional.ofNullable(this.ipAddressType);
}
/**
* Property loadBalancerArn
*
*/
@Import(name="loadBalancerArn")
private @Nullable Output loadBalancerArn;
/**
* @return Property loadBalancerArn
*
*/
public Optional> loadBalancerArn() {
return Optional.ofNullable(this.loadBalancerArn);
}
/**
* The load balancer attributes.
*
*/
@Import(name="loadBalancerAttributes")
private @Nullable Output> loadBalancerAttributes;
/**
* @return The load balancer attributes.
*
*/
public Optional>> loadBalancerAttributes() {
return Optional.ofNullable(this.loadBalancerAttributes);
}
/**
* Property loadBalancerFullName
*
*/
@Import(name="loadBalancerFullName")
private @Nullable Output loadBalancerFullName;
/**
* @return Property loadBalancerFullName
*
*/
public Optional> loadBalancerFullName() {
return Optional.ofNullable(this.loadBalancerFullName);
}
/**
* Property loadBalancerName
*
*/
@Import(name="loadBalancerName")
private @Nullable Output loadBalancerName;
/**
* @return Property loadBalancerName
*
*/
public Optional> loadBalancerName() {
return Optional.ofNullable(this.loadBalancerName);
}
/**
* The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with 'internal-'. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the load balancer. If you specify a name, you cannot perform updates that require replacement of this resource, but you can perform other updates. To replace the resource, specify a new name.
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with 'internal-'. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the load balancer. If you specify a name, you cannot perform updates that require replacement of this resource, but you can perform other updates. To replace the resource, specify a new name.
*
*/
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. You cannot specify a scheme for a Gateway Load Balancer.
*
*/
@Import(name="scheme")
private @Nullable Output scheme;
/**
* @return The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. You cannot specify a scheme for a Gateway Load Balancer.
*
*/
public Optional> scheme() {
return Optional.ofNullable(this.scheme);
}
/**
* [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.
*
*/
@Import(name="securityGroups")
private @Nullable Output> securityGroups;
/**
* @return [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.
*
*/
public Optional>> securityGroups() {
return Optional.ofNullable(this.securityGroups);
}
/**
* The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
*
*/
@Import(name="subnetMappings")
private @Nullable Output> subnetMappings;
/**
* @return The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
*
*/
public Optional>> subnetMappings() {
return Optional.ofNullable(this.subnetMappings);
}
/**
* The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
*
*/
@Import(name="subnets")
private @Nullable Output> subnets;
/**
* @return The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
*
*/
public Optional>> subnets() {
return Optional.ofNullable(this.subnets);
}
/**
* The tags to assign to the load balancer.
*
*/
@Import(name="tags")
private @Nullable Output> tags;
/**
* @return The tags to assign to the load balancer.
*
*/
public Optional>> tags() {
return Optional.ofNullable(this.tags);
}
/**
* The type of load balancer. The default is ``application``.
*
*/
@Import(name="type")
private @Nullable Output type;
/**
* @return The type of load balancer. The default is ``application``.
*
*/
public Optional> type() {
return Optional.ofNullable(this.type);
}
private AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs() {}
private AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs(AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs $) {
this.canonicalHostedZoneID = $.canonicalHostedZoneID;
this.dnsName = $.dnsName;
this.enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = $.enforceSecurityGroupInboundRulesOnPrivateLinkTraffic;
this.ipAddressType = $.ipAddressType;
this.loadBalancerArn = $.loadBalancerArn;
this.loadBalancerAttributes = $.loadBalancerAttributes;
this.loadBalancerFullName = $.loadBalancerFullName;
this.loadBalancerName = $.loadBalancerName;
this.name = $.name;
this.scheme = $.scheme;
this.securityGroups = $.securityGroups;
this.subnetMappings = $.subnetMappings;
this.subnets = $.subnets;
this.tags = $.tags;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs $;
public Builder() {
$ = new AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs();
}
public Builder(AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs defaults) {
$ = new AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs(Objects.requireNonNull(defaults));
}
/**
* @param canonicalHostedZoneID Property canonicalHostedZoneID
*
* @return builder
*
*/
public Builder canonicalHostedZoneID(@Nullable Output canonicalHostedZoneID) {
$.canonicalHostedZoneID = canonicalHostedZoneID;
return this;
}
/**
* @param canonicalHostedZoneID Property canonicalHostedZoneID
*
* @return builder
*
*/
public Builder canonicalHostedZoneID(String canonicalHostedZoneID) {
return canonicalHostedZoneID(Output.of(canonicalHostedZoneID));
}
/**
* @param dnsName Property dnsName
*
* @return builder
*
*/
public Builder dnsName(@Nullable Output dnsName) {
$.dnsName = dnsName;
return this;
}
/**
* @param dnsName Property dnsName
*
* @return builder
*
*/
public Builder dnsName(String dnsName) {
return dnsName(Output.of(dnsName));
}
/**
* @param enforceSecurityGroupInboundRulesOnPrivateLinkTraffic Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through privatelink.
*
* @return builder
*
*/
public Builder enforceSecurityGroupInboundRulesOnPrivateLinkTraffic(@Nullable Output enforceSecurityGroupInboundRulesOnPrivateLinkTraffic) {
$.enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = enforceSecurityGroupInboundRulesOnPrivateLinkTraffic;
return this;
}
/**
* @param enforceSecurityGroupInboundRulesOnPrivateLinkTraffic Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through privatelink.
*
* @return builder
*
*/
public Builder enforceSecurityGroupInboundRulesOnPrivateLinkTraffic(String enforceSecurityGroupInboundRulesOnPrivateLinkTraffic) {
return enforceSecurityGroupInboundRulesOnPrivateLinkTraffic(Output.of(enforceSecurityGroupInboundRulesOnPrivateLinkTraffic));
}
/**
* @param ipAddressType The IP address type. The possible values are ``ipv4`` (for IPv4 addresses) and ``dualstack`` (for IPv4 and IPv6 addresses). You can’t specify ``dualstack`` for a load balancer with a UDP or TCP_UDP listener.
*
* @return builder
*
*/
public Builder ipAddressType(@Nullable Output ipAddressType) {
$.ipAddressType = ipAddressType;
return this;
}
/**
* @param ipAddressType The IP address type. The possible values are ``ipv4`` (for IPv4 addresses) and ``dualstack`` (for IPv4 and IPv6 addresses). You can’t specify ``dualstack`` for a load balancer with a UDP or TCP_UDP listener.
*
* @return builder
*
*/
public Builder ipAddressType(String ipAddressType) {
return ipAddressType(Output.of(ipAddressType));
}
/**
* @param loadBalancerArn Property loadBalancerArn
*
* @return builder
*
*/
public Builder loadBalancerArn(@Nullable Output loadBalancerArn) {
$.loadBalancerArn = loadBalancerArn;
return this;
}
/**
* @param loadBalancerArn Property loadBalancerArn
*
* @return builder
*
*/
public Builder loadBalancerArn(String loadBalancerArn) {
return loadBalancerArn(Output.of(loadBalancerArn));
}
/**
* @param loadBalancerAttributes The load balancer attributes.
*
* @return builder
*
*/
public Builder loadBalancerAttributes(@Nullable Output> loadBalancerAttributes) {
$.loadBalancerAttributes = loadBalancerAttributes;
return this;
}
/**
* @param loadBalancerAttributes The load balancer attributes.
*
* @return builder
*
*/
public Builder loadBalancerAttributes(List loadBalancerAttributes) {
return loadBalancerAttributes(Output.of(loadBalancerAttributes));
}
/**
* @param loadBalancerAttributes The load balancer attributes.
*
* @return builder
*
*/
public Builder loadBalancerAttributes(LoadBalancerAttributeArgs... loadBalancerAttributes) {
return loadBalancerAttributes(List.of(loadBalancerAttributes));
}
/**
* @param loadBalancerFullName Property loadBalancerFullName
*
* @return builder
*
*/
public Builder loadBalancerFullName(@Nullable Output loadBalancerFullName) {
$.loadBalancerFullName = loadBalancerFullName;
return this;
}
/**
* @param loadBalancerFullName Property loadBalancerFullName
*
* @return builder
*
*/
public Builder loadBalancerFullName(String loadBalancerFullName) {
return loadBalancerFullName(Output.of(loadBalancerFullName));
}
/**
* @param loadBalancerName Property loadBalancerName
*
* @return builder
*
*/
public Builder loadBalancerName(@Nullable Output loadBalancerName) {
$.loadBalancerName = loadBalancerName;
return this;
}
/**
* @param loadBalancerName Property loadBalancerName
*
* @return builder
*
*/
public Builder loadBalancerName(String loadBalancerName) {
return loadBalancerName(Output.of(loadBalancerName));
}
/**
* @param name The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with 'internal-'. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the load balancer. If you specify a name, you cannot perform updates that require replacement of this resource, but you can perform other updates. To replace the resource, specify a new name.
*
* @return builder
*
*/
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with 'internal-'. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the load balancer. If you specify a name, you cannot perform updates that require replacement of this resource, but you can perform other updates. To replace the resource, specify a new name.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param scheme The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. You cannot specify a scheme for a Gateway Load Balancer.
*
* @return builder
*
*/
public Builder scheme(@Nullable Output scheme) {
$.scheme = scheme;
return this;
}
/**
* @param scheme The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer. The default is an Internet-facing load balancer. You cannot specify a scheme for a Gateway Load Balancer.
*
* @return builder
*
*/
public Builder scheme(String scheme) {
return scheme(Output.of(scheme));
}
/**
* @param securityGroups [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.
*
* @return builder
*
*/
public Builder securityGroups(@Nullable Output> securityGroups) {
$.securityGroups = securityGroups;
return this;
}
/**
* @param securityGroups [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.
*
* @return builder
*
*/
public Builder securityGroups(List securityGroups) {
return securityGroups(Output.of(securityGroups));
}
/**
* @param securityGroups [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.
*
* @return builder
*
*/
public Builder securityGroups(String... securityGroups) {
return securityGroups(List.of(securityGroups));
}
/**
* @param subnetMappings The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
*
* @return builder
*
*/
public Builder subnetMappings(@Nullable Output> subnetMappings) {
$.subnetMappings = subnetMappings;
return this;
}
/**
* @param subnetMappings The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
*
* @return builder
*
*/
public Builder subnetMappings(List subnetMappings) {
return subnetMappings(Output.of(subnetMappings));
}
/**
* @param subnetMappings The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
*
* @return builder
*
*/
public Builder subnetMappings(SubnetMappingArgs... subnetMappings) {
return subnetMappings(List.of(subnetMappings));
}
/**
* @param subnets The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
*
* @return builder
*
*/
public Builder subnets(@Nullable Output> subnets) {
$.subnets = subnets;
return this;
}
/**
* @param subnets The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
*
* @return builder
*
*/
public Builder subnets(List subnets) {
return subnets(Output.of(subnets));
}
/**
* @param subnets The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets. [Application Load Balancers] You must specify subnets from at least two Availability Zones. [Application Load Balancers on Outposts] You must specify one Outpost subnet. [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones. [Network Load Balancers] You can specify subnets from one or more Availability Zones. [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
*
* @return builder
*
*/
public Builder subnets(String... subnets) {
return subnets(List.of(subnets));
}
/**
* @param tags The tags to assign to the load balancer.
*
* @return builder
*
*/
public Builder tags(@Nullable Output> tags) {
$.tags = tags;
return this;
}
/**
* @param tags The tags to assign to the load balancer.
*
* @return builder
*
*/
public Builder tags(List tags) {
return tags(Output.of(tags));
}
/**
* @param tags The tags to assign to the load balancer.
*
* @return builder
*
*/
public Builder tags(TagArgs... tags) {
return tags(List.of(tags));
}
/**
* @param type The type of load balancer. The default is ``application``.
*
* @return builder
*
*/
public Builder type(@Nullable Output type) {
$.type = type;
return this;
}
/**
* @param type The type of load balancer. The default is ``application``.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public AwsElasticLoadBalancingV2LoadBalancerPropertiesArgs build() {
return $;
}
}
}