Interface TargetGroupConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetGroupConfig.Builder,
,TargetGroupConfig> SdkBuilder<TargetGroupConfig.Builder,
,TargetGroupConfig> SdkPojo
- Enclosing class:
TargetGroupConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetGroupConfig.Builder
healthCheck
(Consumer<HealthCheckConfig.Builder> healthCheck) The health check configuration.healthCheck
(HealthCheckConfig healthCheck) The health check configuration.ipAddressType
(String ipAddressType) The type of IP address used for the target group.ipAddressType
(IpAddressType ipAddressType) The type of IP address used for the target group.lambdaEventStructureVersion
(String lambdaEventStructureVersion) Lambda event structure versionlambdaEventStructureVersion
(LambdaEventStructureVersion lambdaEventStructureVersion) Lambda event structure versionThe port on which the targets are listening.The protocol to use for routing traffic to the targets.protocol
(TargetGroupProtocol protocol) The protocol to use for routing traffic to the targets.protocolVersion
(String protocolVersion) The protocol version.protocolVersion
(TargetGroupProtocolVersion protocolVersion) The protocol version.vpcIdentifier
(String vpcIdentifier) The ID of the VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
healthCheck
The health check configuration.
- Parameters:
healthCheck
- The health check configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
The health check configuration.
This is a convenience method that creates an instance of theHealthCheckConfig.Builder
avoiding the need to create one manually viaHealthCheckConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthCheck(HealthCheckConfig)
.- Parameters:
healthCheck
- a consumer that will call methods onHealthCheckConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipAddressType
The type of IP address used for the target group. The possible values are
ipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
.- Parameters:
ipAddressType
- The type of IP address used for the target group. The possible values areipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipAddressType
The type of IP address used for the target group. The possible values are
ipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
.- Parameters:
ipAddressType
- The type of IP address used for the target group. The possible values areipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaEventStructureVersion
Lambda event structure version
- Parameters:
lambdaEventStructureVersion
- Lambda event structure version- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaEventStructureVersion
TargetGroupConfig.Builder lambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion) Lambda event structure version
- Parameters:
lambdaEventStructureVersion
- Lambda event structure version- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
port
The port on which the targets are listening. For HTTP, the default is
80
. For HTTPS, the default is443
- Parameters:
port
- The port on which the targets are listening. For HTTP, the default is80
. For HTTPS, the default is443
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
- Parameters:
protocol
- The protocol to use for routing traffic to the targets. Default is the protocol of a target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
- Parameters:
protocol
- The protocol to use for routing traffic to the targets. Default is the protocol of a target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolVersion
The protocol version. Default value is
HTTP1
.- Parameters:
protocolVersion
- The protocol version. Default value isHTTP1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolVersion
The protocol version. Default value is
HTTP1
.- Parameters:
protocolVersion
- The protocol version. Default value isHTTP1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcIdentifier
The ID of the VPC.
- Parameters:
vpcIdentifier
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-