Interface TargetGroupConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>,SdkBuilder<TargetGroupConfig.Builder,TargetGroupConfig>,SdkPojo
- Enclosing class:
- TargetGroupConfig
public static interface TargetGroupConfig.Builder extends SdkPojo, CopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TargetGroupConfig.BuilderhealthCheck(Consumer<HealthCheckConfig.Builder> healthCheck)The health check configuration.TargetGroupConfig.BuilderhealthCheck(HealthCheckConfig healthCheck)The health check configuration.TargetGroupConfig.BuilderipAddressType(String ipAddressType)The type of IP address used for the target group.TargetGroupConfig.BuilderipAddressType(IpAddressType ipAddressType)The type of IP address used for the target group.TargetGroupConfig.BuilderlambdaEventStructureVersion(String lambdaEventStructureVersion)The version of the event structure that your Lambda function receives.TargetGroupConfig.BuilderlambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)The version of the event structure that your Lambda function receives.TargetGroupConfig.Builderport(Integer port)The port on which the targets are listening.TargetGroupConfig.Builderprotocol(String protocol)The protocol to use for routing traffic to the targets.TargetGroupConfig.Builderprotocol(TargetGroupProtocol protocol)The protocol to use for routing traffic to the targets.TargetGroupConfig.BuilderprotocolVersion(String protocolVersion)The protocol version.TargetGroupConfig.BuilderprotocolVersion(TargetGroupProtocolVersion protocolVersion)The protocol version.TargetGroupConfig.BuildervpcIdentifier(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 Detail
-
healthCheck
TargetGroupConfig.Builder healthCheck(HealthCheckConfig healthCheck)
The health check configuration. Not supported if the target group type is
LAMBDAorALB.- Parameters:
healthCheck- The health check configuration. Not supported if the target group type isLAMBDAorALB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthCheck
default TargetGroupConfig.Builder healthCheck(Consumer<HealthCheckConfig.Builder> healthCheck)
The health check configuration. Not supported if the target group type is
This is a convenience method that creates an instance of theLAMBDAorALB.HealthCheckConfig.Builderavoiding the need to create one manually viaHealthCheckConfig.builder().When the
Consumercompletes,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:
healthCheck(HealthCheckConfig)
-
ipAddressType
TargetGroupConfig.Builder ipAddressType(String ipAddressType)
The type of IP address used for the target group. Supported only if the target group type is
IP. The default isIPV4.- Parameters:
ipAddressType- The type of IP address used for the target group. Supported only if the target group type isIP. The default isIPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
ipAddressType
TargetGroupConfig.Builder ipAddressType(IpAddressType ipAddressType)
The type of IP address used for the target group. Supported only if the target group type is
IP. The default isIPV4.- Parameters:
ipAddressType- The type of IP address used for the target group. Supported only if the target group type isIP. The default isIPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
lambdaEventStructureVersion
TargetGroupConfig.Builder lambdaEventStructureVersion(String lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA. The default isV1.- Parameters:
lambdaEventStructureVersion- The version of the event structure that your Lambda function receives. Supported only if the target group type isLAMBDA. The default isV1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LambdaEventStructureVersion,LambdaEventStructureVersion
-
lambdaEventStructureVersion
TargetGroupConfig.Builder lambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA. The default isV1.- Parameters:
lambdaEventStructureVersion- The version of the event structure that your Lambda function receives. Supported only if the target group type isLAMBDA. The default isV1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LambdaEventStructureVersion,LambdaEventStructureVersion
-
port
TargetGroupConfig.Builder port(Integer port)
The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA.- Parameters:
port- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type isLAMBDA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
TargetGroupConfig.Builder protocol(String protocol)
The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA.- Parameters:
protocol- The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type isLAMBDA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetGroupProtocol,TargetGroupProtocol
-
protocol
TargetGroupConfig.Builder protocol(TargetGroupProtocol protocol)
The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA.- Parameters:
protocol- The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type isLAMBDA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetGroupProtocol,TargetGroupProtocol
-
protocolVersion
TargetGroupConfig.Builder protocolVersion(String protocolVersion)
The protocol version. The default is
HTTP1. Not supported if the target group type isLAMBDA.- Parameters:
protocolVersion- The protocol version. The default isHTTP1. Not supported if the target group type isLAMBDA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetGroupProtocolVersion,TargetGroupProtocolVersion
-
protocolVersion
TargetGroupConfig.Builder protocolVersion(TargetGroupProtocolVersion protocolVersion)
The protocol version. The default is
HTTP1. Not supported if the target group type isLAMBDA.- Parameters:
protocolVersion- The protocol version. The default isHTTP1. Not supported if the target group type isLAMBDA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetGroupProtocolVersion,TargetGroupProtocolVersion
-
vpcIdentifier
TargetGroupConfig.Builder vpcIdentifier(String vpcIdentifier)
The ID of the VPC. Not supported if the target group type is
LAMBDA.- Parameters:
vpcIdentifier- The ID of the VPC. Not supported if the target group type isLAMBDA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-