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 Details

    • healthCheck

      TargetGroupConfig.Builder healthCheck(HealthCheckConfig 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

      default TargetGroupConfig.Builder healthCheck(Consumer<HealthCheckConfig.Builder> healthCheck)

      The health check configuration.

      This is a convenience method that creates an instance of the HealthCheckConfig.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).

      Parameters:
      healthCheck - a consumer that will call methods on HealthCheckConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddressType

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddressType

      TargetGroupConfig.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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lambdaEventStructureVersion

      TargetGroupConfig.Builder lambdaEventStructureVersion(String 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 is 443

      Parameters:
      port - The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443
      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. 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

      TargetGroupConfig.Builder protocolVersion(String protocolVersion)

      The protocol version. Default value is HTTP1.

      Parameters:
      protocolVersion - The protocol version. Default value is HTTP1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocolVersion

      TargetGroupConfig.Builder protocolVersion(TargetGroupProtocolVersion protocolVersion)

      The protocol version. Default value is HTTP1.

      Parameters:
      protocolVersion - The protocol version. Default value is HTTP1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcIdentifier

      TargetGroupConfig.Builder vpcIdentifier(String 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.