public static interface TargetGroupConfig.Builder extends SdkPojo, CopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>
| Modifier and Type | Method and Description |
|---|---|
default TargetGroupConfig.Builder |
healthCheck(Consumer<HealthCheckConfig.Builder> healthCheck)
The health check configuration.
|
TargetGroupConfig.Builder |
healthCheck(HealthCheckConfig healthCheck)
The health check configuration.
|
TargetGroupConfig.Builder |
ipAddressType(IpAddressType ipAddressType)
The type of IP address used for the target group.
|
TargetGroupConfig.Builder |
ipAddressType(String ipAddressType)
The type of IP address used for the target group.
|
TargetGroupConfig.Builder |
lambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
Lambda event structure version
|
TargetGroupConfig.Builder |
lambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
|
TargetGroupConfig.Builder |
port(Integer port)
The port on which the targets are listening.
|
TargetGroupConfig.Builder |
protocol(String protocol)
The protocol to use for routing traffic to the targets.
|
TargetGroupConfig.Builder |
protocol(TargetGroupProtocol protocol)
The protocol to use for routing traffic to the targets.
|
TargetGroupConfig.Builder |
protocolVersion(String protocolVersion)
The protocol version.
|
TargetGroupConfig.Builder |
protocolVersion(TargetGroupProtocolVersion protocolVersion)
The protocol version.
|
TargetGroupConfig.Builder |
vpcIdentifier(String vpcIdentifier)
The ID of the VPC.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTargetGroupConfig.Builder healthCheck(HealthCheckConfig healthCheck)
The health check configuration.
healthCheck - The health check configuration.default TargetGroupConfig.Builder healthCheck(Consumer<HealthCheckConfig.Builder> healthCheck)
The health check configuration.
This is a convenience method that creates an instance of theHealthCheckConfig.Builder avoiding the
need to create one manually via HealthCheckConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to healthCheck(HealthCheckConfig).
healthCheck - a consumer that will call methods on HealthCheckConfig.BuilderhealthCheck(HealthCheckConfig)TargetGroupConfig.Builder ipAddressType(String ipAddressType)
The type of IP address used for the target group. The possible values are ipv4 and
ipv6. This is an optional parameter. If not specified, the IP address type defaults to
ipv4.
ipAddressType - The type of IP address used for the target group. The possible values are ipv4 and
ipv6. This is an optional parameter. If not specified, the IP address type defaults to
ipv4.IpAddressType,
IpAddressTypeTargetGroupConfig.Builder ipAddressType(IpAddressType ipAddressType)
The type of IP address used for the target group. The possible values are ipv4 and
ipv6. This is an optional parameter. If not specified, the IP address type defaults to
ipv4.
ipAddressType - The type of IP address used for the target group. The possible values are ipv4 and
ipv6. This is an optional parameter. If not specified, the IP address type defaults to
ipv4.IpAddressType,
IpAddressTypeTargetGroupConfig.Builder lambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion - Lambda event structure versionLambdaEventStructureVersion,
LambdaEventStructureVersionTargetGroupConfig.Builder lambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion - Lambda event structure versionLambdaEventStructureVersion,
LambdaEventStructureVersionTargetGroupConfig.Builder port(Integer port)
The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default
is 443
port - The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the
default is 443TargetGroupConfig.Builder protocol(String protocol)
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
protocol - The protocol to use for routing traffic to the targets. Default is the protocol of a target group.TargetGroupProtocol,
TargetGroupProtocolTargetGroupConfig.Builder protocol(TargetGroupProtocol protocol)
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
protocol - The protocol to use for routing traffic to the targets. Default is the protocol of a target group.TargetGroupProtocol,
TargetGroupProtocolTargetGroupConfig.Builder protocolVersion(String protocolVersion)
The protocol version. Default value is HTTP1.
protocolVersion - The protocol version. Default value is HTTP1.TargetGroupProtocolVersion,
TargetGroupProtocolVersionTargetGroupConfig.Builder protocolVersion(TargetGroupProtocolVersion protocolVersion)
The protocol version. Default value is HTTP1.
protocolVersion - The protocol version. Default value is HTTP1.TargetGroupProtocolVersion,
TargetGroupProtocolVersionTargetGroupConfig.Builder vpcIdentifier(String vpcIdentifier)
The ID of the VPC.
vpcIdentifier - The ID of the VPC.Copyright © 2023. All rights reserved.