public static interface ModifyTargetGroupRequest.Builder extends ElasticLoadBalancingV2Request.Builder, CopyableBuilder<ModifyTargetGroupRequest.Builder,ModifyTargetGroupRequest>
Modifier and Type | Method and Description |
---|---|
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 ping path that is the destination for the health check request.
|
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 codes to use when checking for a successful response from a target.
|
ModifyTargetGroupRequest.Builder |
matcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.
|
ModifyTargetGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifyTargetGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
ModifyTargetGroupRequest.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. The TCP protocol is supported only if the protocol of the target group is TCP.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. The TCP protocol is
supported only if the protocol of the target group is TCP.ProtocolEnum
,
ProtocolEnum
ModifyTargetGroupRequest.Builder healthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported only if the protocol of the target group is TCP.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. The TCP protocol is
supported only if the protocol of the target group is TCP.ProtocolEnum
,
ProtocolEnum
ModifyTargetGroupRequest.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 ping path that is the destination for the health check request.
healthCheckPath
- [HTTP/HTTPS health checks] The ping path that is the destination for the health check request.ModifyTargetGroupRequest.Builder healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.
healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target. For
Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, 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 Network Load Balancers, 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
Network Load Balancers, this value must be the same as the healthy threshold count.ModifyTargetGroupRequest.Builder matcher(Matcher matcher)
[HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.
matcher
- [HTTP/HTTPS health checks] The HTTP 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 codes to use when checking for a successful response from a target.
This is a convenience 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.Builder
matcher(Matcher)
ModifyTargetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyTargetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.