public static interface ModifyTargetGroupRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<ModifyTargetGroupRequest.Builder,ModifyTargetGroupRequest>
| Modifier and Type | Method and Description |
|---|---|
ModifyTargetGroupRequest.Builder |
healthCheckEnabled(Boolean healthCheckEnabled)
Indicates whether health checks are enabled.
|
ModifyTargetGroupRequest.Builder |
healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
|
ModifyTargetGroupRequest.Builder |
healthCheckPath(String healthCheckPath)
[HTTP/HTTPS health checks] The destination for health checks on the targets.
|
ModifyTargetGroupRequest.Builder |
healthCheckPort(String healthCheckPort)
The port the load balancer uses when performing health checks on targets.
|
ModifyTargetGroupRequest.Builder |
healthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets.
|
ModifyTargetGroupRequest.Builder |
healthCheckProtocol(String healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets.
|
ModifyTargetGroupRequest.Builder |
healthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health
check.
|
ModifyTargetGroupRequest.Builder |
healthyThresholdCount(Integer healthyThresholdCount)
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
default ModifyTargetGroupRequest.Builder |
matcher(Consumer<Matcher.Builder> matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a
target.
|
ModifyTargetGroupRequest.Builder |
matcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a
target.
|
ModifyTargetGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifyTargetGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifyTargetGroupRequest.Builder |
targetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
ModifyTargetGroupRequest.Builder |
unhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyTargetGroupRequest.Builder targetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn - The Amazon Resource Name (ARN) of the target group.ModifyTargetGroupRequest.Builder healthCheckProtocol(String healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
healthCheckProtocol - The protocol the load balancer uses when performing health checks on targets. For Application Load
Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is
TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP
or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP,
or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.ProtocolEnum,
ProtocolEnumModifyTargetGroupRequest.Builder healthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
healthCheckProtocol - The protocol the load balancer uses when performing health checks on targets. For Application Load
Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is
TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP
or HTTPS. It is supported for health checks only if the protocol of the target group is TCP, TLS, UDP,
or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.ProtocolEnum,
ProtocolEnumModifyTargetGroupRequest.Builder healthCheckPort(String healthCheckPort)
The port the load balancer uses when performing health checks on targets.
healthCheckPort - The port the load balancer uses when performing health checks on targets.ModifyTargetGroupRequest.Builder healthCheckPath(String healthCheckPath)
[HTTP/HTTPS health checks] The destination for health checks on the targets.
[HTTP1 or HTTP2 protocol version] The ping path. The default is /.
[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.
healthCheckPath - [HTTP/HTTPS health checks] The destination for health checks on the targets.
[HTTP1 or HTTP2 protocol version] The ping path. The default is /.
[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.
ModifyTargetGroupRequest.Builder healthCheckEnabled(Boolean healthCheckEnabled)
Indicates whether health checks are enabled.
healthCheckEnabled - Indicates whether health checks are enabled.ModifyTargetGroupRequest.Builder healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target. For TCP health checks, the supported values are 10 or 30 seconds.
healthCheckIntervalSeconds - The approximate amount of time, in seconds, between health checks of an individual target. For TCP
health checks, the supported values are 10 or 30 seconds.ModifyTargetGroupRequest.Builder healthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
[HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
healthCheckTimeoutSeconds - [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed
health check.ModifyTargetGroupRequest.Builder healthyThresholdCount(Integer healthyThresholdCount)
The number of consecutive health checks successes required before considering an unhealthy target healthy.
healthyThresholdCount - The number of consecutive health checks successes required before considering an unhealthy target
healthy.ModifyTargetGroupRequest.Builder unhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy. For target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold count.
unhealthyThresholdCount - The number of consecutive health check failures required before considering the target unhealthy. For
target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold
count.ModifyTargetGroupRequest.Builder matcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
matcher - [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from
a target.default ModifyTargetGroupRequest.Builder matcher(Consumer<Matcher.Builder> matcher)
[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.
This is a convenience method that creates an instance of theMatcher.Builder avoiding the need to
create one manually via Matcher.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to matcher(Matcher).
matcher - a consumer that will call methods on Matcher.Buildermatcher(Matcher)ModifyTargetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyTargetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.