Package com.pulumi.alicloud.alb
Class LoadBalancerArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.alb.LoadBalancerArgs.Builder
-
- Enclosing class:
- LoadBalancerArgs
public static final class LoadBalancerArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(LoadBalancerArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LoadBalancerArgs defaults)
-
-
Method Detail
-
accessLogConfig
public LoadBalancerArgs.Builder accessLogConfig(@Nullable com.pulumi.core.Output<LoadBalancerAccessLogConfigArgs> accessLogConfig)
- Parameters:
accessLogConfig
- The Access Logging Configuration Structure. See `access_log_config` below.- Returns:
- builder
-
accessLogConfig
public LoadBalancerArgs.Builder accessLogConfig(LoadBalancerAccessLogConfigArgs accessLogConfig)
- Parameters:
accessLogConfig
- The Access Logging Configuration Structure. See `access_log_config` below.- Returns:
- builder
-
addressAllocatedMode
public LoadBalancerArgs.Builder addressAllocatedMode(@Nullable com.pulumi.core.Output<java.lang.String> addressAllocatedMode)
- Parameters:
addressAllocatedMode
- The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.- Returns:
- builder
-
addressAllocatedMode
public LoadBalancerArgs.Builder addressAllocatedMode(java.lang.String addressAllocatedMode)
- Parameters:
addressAllocatedMode
- The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.- Returns:
- builder
-
addressIpVersion
public LoadBalancerArgs.Builder addressIpVersion(@Nullable com.pulumi.core.Output<java.lang.String> addressIpVersion)
- Parameters:
addressIpVersion
- The protocol version. Value: - **IPv4**:IPv4 type. - **DualStack**: the dual-stack type.- Returns:
- builder
-
addressIpVersion
public LoadBalancerArgs.Builder addressIpVersion(java.lang.String addressIpVersion)
- Parameters:
addressIpVersion
- The protocol version. Value: - **IPv4**:IPv4 type. - **DualStack**: the dual-stack type.- Returns:
- builder
-
addressType
public LoadBalancerArgs.Builder addressType(com.pulumi.core.Output<java.lang.String> addressType)
- Parameters:
addressType
- The type of IP address that the SLB instance uses to provide services.- Returns:
- builder
-
addressType
public LoadBalancerArgs.Builder addressType(java.lang.String addressType)
- Parameters:
addressType
- The type of IP address that the SLB instance uses to provide services.- Returns:
- builder
-
bandwidthPackageId
public LoadBalancerArgs.Builder bandwidthPackageId(@Nullable com.pulumi.core.Output<java.lang.String> bandwidthPackageId)
- Parameters:
bandwidthPackageId
- The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.- Returns:
- builder
-
bandwidthPackageId
public LoadBalancerArgs.Builder bandwidthPackageId(java.lang.String bandwidthPackageId)
- Parameters:
bandwidthPackageId
- The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.- Returns:
- builder
-
deletionProtectionEnabled
public LoadBalancerArgs.Builder deletionProtectionEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> deletionProtectionEnabled)
- Parameters:
deletionProtectionEnabled
- Whether to enable delete protection. Value:true: on.false (default): Off.- Returns:
- builder
-
deletionProtectionEnabled
public LoadBalancerArgs.Builder deletionProtectionEnabled(java.lang.Boolean deletionProtectionEnabled)
- Parameters:
deletionProtectionEnabled
- Whether to enable delete protection. Value:true: on.false (default): Off.- Returns:
- builder
-
dryRun
public LoadBalancerArgs.Builder dryRun(@Nullable com.pulumi.core.Output<java.lang.Boolean> dryRun)
- Parameters:
dryRun
- Whether to PreCheck only this request, value:true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.- Returns:
- builder
-
dryRun
public LoadBalancerArgs.Builder dryRun(java.lang.Boolean dryRun)
- Parameters:
dryRun
- Whether to PreCheck only this request, value:true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.- Returns:
- builder
-
ipv6AddressType
public LoadBalancerArgs.Builder ipv6AddressType(@Nullable com.pulumi.core.Output<java.lang.String> ipv6AddressType)
- Parameters:
ipv6AddressType
- The address type of Ipv6.- Returns:
- builder
-
ipv6AddressType
public LoadBalancerArgs.Builder ipv6AddressType(java.lang.String ipv6AddressType)
- Parameters:
ipv6AddressType
- The address type of Ipv6.- Returns:
- builder
-
loadBalancerBillingConfig
public LoadBalancerArgs.Builder loadBalancerBillingConfig(com.pulumi.core.Output<LoadBalancerLoadBalancerBillingConfigArgs> loadBalancerBillingConfig)
- Parameters:
loadBalancerBillingConfig
- The configuration of the billing method. See `load_balancer_billing_config` below.- Returns:
- builder
-
loadBalancerBillingConfig
public LoadBalancerArgs.Builder loadBalancerBillingConfig(LoadBalancerLoadBalancerBillingConfigArgs loadBalancerBillingConfig)
- Parameters:
loadBalancerBillingConfig
- The configuration of the billing method. See `load_balancer_billing_config` below.- Returns:
- builder
-
loadBalancerEdition
public LoadBalancerArgs.Builder loadBalancerEdition(com.pulumi.core.Output<java.lang.String> loadBalancerEdition)
- Parameters:
loadBalancerEdition
- The edition of the ALB instance.- Returns:
- builder
-
loadBalancerEdition
public LoadBalancerArgs.Builder loadBalancerEdition(java.lang.String loadBalancerEdition)
- Parameters:
loadBalancerEdition
- The edition of the ALB instance.- Returns:
- builder
-
loadBalancerName
public LoadBalancerArgs.Builder loadBalancerName(@Nullable com.pulumi.core.Output<java.lang.String> loadBalancerName)
- Parameters:
loadBalancerName
- The name of the resource.- Returns:
- builder
-
loadBalancerName
public LoadBalancerArgs.Builder loadBalancerName(java.lang.String loadBalancerName)
- Parameters:
loadBalancerName
- The name of the resource.- Returns:
- builder
-
modificationProtectionConfig
public LoadBalancerArgs.Builder modificationProtectionConfig(@Nullable com.pulumi.core.Output<LoadBalancerModificationProtectionConfigArgs> modificationProtectionConfig)
- Parameters:
modificationProtectionConfig
- Modify the Protection Configuration. See `modification_protection_config` below.- Returns:
- builder
-
modificationProtectionConfig
public LoadBalancerArgs.Builder modificationProtectionConfig(LoadBalancerModificationProtectionConfigArgs modificationProtectionConfig)
- Parameters:
modificationProtectionConfig
- Modify the Protection Configuration. See `modification_protection_config` below.- Returns:
- builder
-
resourceGroupId
public LoadBalancerArgs.Builder resourceGroupId(@Nullable com.pulumi.core.Output<java.lang.String> resourceGroupId)
- Parameters:
resourceGroupId
- The ID of the resource group.- Returns:
- builder
-
resourceGroupId
public LoadBalancerArgs.Builder resourceGroupId(java.lang.String resourceGroupId)
- Parameters:
resourceGroupId
- The ID of the resource group.- Returns:
- builder
-
tags
public LoadBalancerArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
- Parameters:
tags
- The tag of the resource.- Returns:
- builder
-
tags
public LoadBalancerArgs.Builder tags(java.util.Map<java.lang.String,java.lang.Object> tags)
- Parameters:
tags
- The tag of the resource.- Returns:
- builder
-
vpcId
public LoadBalancerArgs.Builder vpcId(com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId
- The ID of the virtual private cloud (VPC) where the SLB instance is deployed.- Returns:
- builder
-
vpcId
public LoadBalancerArgs.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId
- The ID of the virtual private cloud (VPC) where the SLB instance is deployed.- Returns:
- builder
-
zoneMappings
public LoadBalancerArgs.Builder zoneMappings(com.pulumi.core.Output<java.util.List<LoadBalancerZoneMappingArgs>> zoneMappings)
- Parameters:
zoneMappings
- The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.- Returns:
- builder
-
zoneMappings
public LoadBalancerArgs.Builder zoneMappings(java.util.List<LoadBalancerZoneMappingArgs> zoneMappings)
- Parameters:
zoneMappings
- The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.- Returns:
- builder
-
zoneMappings
public LoadBalancerArgs.Builder zoneMappings(LoadBalancerZoneMappingArgs... zoneMappings)
- Parameters:
zoneMappings
- The zones and vSwitches. You must specify at least two zones. See `zone_mappings` below.- Returns:
- builder
-
build
public LoadBalancerArgs build()
-
-