Package com.pulumi.alicloud.nlb.inputs
Class ServerGroupState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.nlb.inputs.ServerGroupState.Builder
-
- Enclosing class:
- ServerGroupState
public static final class ServerGroupState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ServerGroupState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerGroupState.Builder
addressIpVersion(com.pulumi.core.Output<java.lang.String> addressIpVersion)
ServerGroupState.Builder
addressIpVersion(java.lang.String addressIpVersion)
ServerGroupState
build()
ServerGroupState.Builder
connectionDrain(com.pulumi.core.Output<java.lang.Boolean> connectionDrain)
ServerGroupState.Builder
connectionDrain(java.lang.Boolean connectionDrain)
ServerGroupState.Builder
connectionDrainTimeout(com.pulumi.core.Output<java.lang.Integer> connectionDrainTimeout)
ServerGroupState.Builder
connectionDrainTimeout(java.lang.Integer connectionDrainTimeout)
ServerGroupState.Builder
healthCheck(ServerGroupHealthCheckArgs healthCheck)
ServerGroupState.Builder
healthCheck(com.pulumi.core.Output<ServerGroupHealthCheckArgs> healthCheck)
ServerGroupState.Builder
preserveClientIpEnabled(com.pulumi.core.Output<java.lang.Boolean> preserveClientIpEnabled)
ServerGroupState.Builder
preserveClientIpEnabled(java.lang.Boolean preserveClientIpEnabled)
ServerGroupState.Builder
protocol(com.pulumi.core.Output<java.lang.String> protocol)
ServerGroupState.Builder
protocol(java.lang.String protocol)
ServerGroupState.Builder
resourceGroupId(com.pulumi.core.Output<java.lang.String> resourceGroupId)
ServerGroupState.Builder
resourceGroupId(java.lang.String resourceGroupId)
ServerGroupState.Builder
scheduler(com.pulumi.core.Output<java.lang.String> scheduler)
ServerGroupState.Builder
scheduler(java.lang.String scheduler)
ServerGroupState.Builder
serverGroupName(com.pulumi.core.Output<java.lang.String> serverGroupName)
ServerGroupState.Builder
serverGroupName(java.lang.String serverGroupName)
ServerGroupState.Builder
serverGroupType(com.pulumi.core.Output<java.lang.String> serverGroupType)
ServerGroupState.Builder
serverGroupType(java.lang.String serverGroupType)
ServerGroupState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
ServerGroupState.Builder
status(java.lang.String status)
ServerGroupState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
ServerGroupState.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
ServerGroupState.Builder
vpcId(com.pulumi.core.Output<java.lang.String> vpcId)
ServerGroupState.Builder
vpcId(java.lang.String vpcId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ServerGroupState defaults)
-
-
Method Detail
-
addressIpVersion
public ServerGroupState.Builder addressIpVersion(@Nullable com.pulumi.core.Output<java.lang.String> addressIpVersion)
- Parameters:
addressIpVersion
- The protocol version. Valid values: `Ipv4` (default), `DualStack`.- Returns:
- builder
-
addressIpVersion
public ServerGroupState.Builder addressIpVersion(java.lang.String addressIpVersion)
- Parameters:
addressIpVersion
- The protocol version. Valid values: `Ipv4` (default), `DualStack`.- Returns:
- builder
-
connectionDrain
public ServerGroupState.Builder connectionDrain(@Nullable com.pulumi.core.Output<java.lang.Boolean> connectionDrain)
- Parameters:
connectionDrain
- Specifies whether to enable connection draining.- Returns:
- builder
-
connectionDrain
public ServerGroupState.Builder connectionDrain(java.lang.Boolean connectionDrain)
- Parameters:
connectionDrain
- Specifies whether to enable connection draining.- Returns:
- builder
-
connectionDrainTimeout
public ServerGroupState.Builder connectionDrainTimeout(@Nullable com.pulumi.core.Output<java.lang.Integer> connectionDrainTimeout)
- Parameters:
connectionDrainTimeout
- The timeout period of connection draining. Unit: seconds. Valid values: 10 to 900.- Returns:
- builder
-
connectionDrainTimeout
public ServerGroupState.Builder connectionDrainTimeout(java.lang.Integer connectionDrainTimeout)
- Parameters:
connectionDrainTimeout
- The timeout period of connection draining. Unit: seconds. Valid values: 10 to 900.- Returns:
- builder
-
healthCheck
public ServerGroupState.Builder healthCheck(@Nullable com.pulumi.core.Output<ServerGroupHealthCheckArgs> healthCheck)
- Parameters:
healthCheck
- HealthCheck. See `health_check` below.- Returns:
- builder
-
healthCheck
public ServerGroupState.Builder healthCheck(ServerGroupHealthCheckArgs healthCheck)
- Parameters:
healthCheck
- HealthCheck. See `health_check` below.- Returns:
- builder
-
preserveClientIpEnabled
public ServerGroupState.Builder preserveClientIpEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> preserveClientIpEnabled)
- Parameters:
preserveClientIpEnabled
- Indicates whether client address retention is enabled.- Returns:
- builder
-
preserveClientIpEnabled
public ServerGroupState.Builder preserveClientIpEnabled(java.lang.Boolean preserveClientIpEnabled)
- Parameters:
preserveClientIpEnabled
- Indicates whether client address retention is enabled.- Returns:
- builder
-
protocol
public ServerGroupState.Builder protocol(@Nullable com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol
- The backend protocol. Valid values: `TCP` (default), `UDP`, and `TCPSSL`.- Returns:
- builder
-
protocol
public ServerGroupState.Builder protocol(java.lang.String protocol)
- Parameters:
protocol
- The backend protocol. Valid values: `TCP` (default), `UDP`, and `TCPSSL`.- Returns:
- builder
-
resourceGroupId
public ServerGroupState.Builder resourceGroupId(@Nullable com.pulumi.core.Output<java.lang.String> resourceGroupId)
- Parameters:
resourceGroupId
- The ID of the resource group to which the security group belongs.- Returns:
- builder
-
resourceGroupId
public ServerGroupState.Builder resourceGroupId(java.lang.String resourceGroupId)
- Parameters:
resourceGroupId
- The ID of the resource group to which the security group belongs.- Returns:
- builder
-
scheduler
public ServerGroupState.Builder scheduler(@Nullable com.pulumi.core.Output<java.lang.String> scheduler)
- Parameters:
scheduler
- The routing algorithm. Valid values:- Returns:
- builder
-
scheduler
public ServerGroupState.Builder scheduler(java.lang.String scheduler)
- Parameters:
scheduler
- The routing algorithm. Valid values:- Returns:
- builder
-
serverGroupName
public ServerGroupState.Builder serverGroupName(@Nullable com.pulumi.core.Output<java.lang.String> serverGroupName)
- Parameters:
serverGroupName
- The name of the server group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.- Returns:
- builder
-
serverGroupName
public ServerGroupState.Builder serverGroupName(java.lang.String serverGroupName)
- Parameters:
serverGroupName
- The name of the server group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.- Returns:
- builder
-
serverGroupType
public ServerGroupState.Builder serverGroupType(@Nullable com.pulumi.core.Output<java.lang.String> serverGroupType)
- Parameters:
serverGroupType
- The type of the server group. Valid values:- Returns:
- builder
-
serverGroupType
public ServerGroupState.Builder serverGroupType(java.lang.String serverGroupType)
- Parameters:
serverGroupType
- The type of the server group. Valid values:- Returns:
- builder
-
status
public ServerGroupState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status of the resource.- Returns:
- builder
-
status
public ServerGroupState.Builder status(java.lang.String status)
- Parameters:
status
- The status of the resource.- Returns:
- builder
-
tags
public ServerGroupState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
tags
public ServerGroupState.Builder tags(java.util.Map<java.lang.String,java.lang.Object> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
vpcId
public ServerGroupState.Builder vpcId(@Nullable com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId
- The id of the vpc.- Returns:
- builder
-
vpcId
public ServerGroupState.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId
- The id of the vpc.- Returns:
- builder
-
build
public ServerGroupState build()
-
-