CopyableBuilder<TargetGroup.Builder,TargetGroup>
, SdkBuilder<TargetGroup.Builder,TargetGroup>
public static interface TargetGroup.Builder extends CopyableBuilder<TargetGroup.Builder,TargetGroup>
Modifier and Type | Method | Description |
---|---|---|
TargetGroup.Builder |
healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds) |
The approximate amount of time, in seconds, between health checks of an individual target.
|
TargetGroup.Builder |
healthCheckPath(String healthCheckPath) |
The destination for the health check request.
|
TargetGroup.Builder |
healthCheckPort(String healthCheckPort) |
The port to use to connect with the target.
|
TargetGroup.Builder |
healthCheckProtocol(String healthCheckProtocol) |
The protocol to use to connect with the target.
|
TargetGroup.Builder |
healthCheckProtocol(ProtocolEnum healthCheckProtocol) |
The protocol to use to connect with the target.
|
TargetGroup.Builder |
healthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds) |
The amount of time, in seconds, during which no response means a failed health check.
|
TargetGroup.Builder |
healthyThresholdCount(Integer healthyThresholdCount) |
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
TargetGroup.Builder |
loadBalancerArns(String... loadBalancerArns) |
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
|
TargetGroup.Builder |
loadBalancerArns(Collection<String> loadBalancerArns) |
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
|
TargetGroup.Builder |
matcher(Matcher matcher) |
The HTTP codes to use when checking for a successful response from a target.
|
TargetGroup.Builder |
port(Integer port) |
The port on which the targets are listening.
|
TargetGroup.Builder |
protocol(String protocol) |
The protocol to use for routing traffic to the targets.
|
TargetGroup.Builder |
protocol(ProtocolEnum protocol) |
The protocol to use for routing traffic to the targets.
|
TargetGroup.Builder |
targetGroupArn(String targetGroupArn) |
The Amazon Resource Name (ARN) of the target group.
|
TargetGroup.Builder |
targetGroupName(String targetGroupName) |
The name of the target group.
|
TargetGroup.Builder |
unhealthyThresholdCount(Integer unhealthyThresholdCount) |
The number of consecutive health check failures required before considering the target unhealthy.
|
TargetGroup.Builder |
vpcId(String vpcId) |
The ID of the VPC for the targets.
|
copy
apply, build
TargetGroup.Builder targetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.TargetGroup.Builder targetGroupName(String targetGroupName)
The name of the target group.
targetGroupName
- The name of the target group.TargetGroup.Builder protocol(String protocol)
The protocol to use for routing traffic to the targets.
protocol
- The protocol to use for routing traffic to the targets.ProtocolEnum
TargetGroup.Builder protocol(ProtocolEnum protocol)
The protocol to use for routing traffic to the targets.
protocol
- The protocol to use for routing traffic to the targets.ProtocolEnum
TargetGroup.Builder port(Integer port)
The port on which the targets are listening.
port
- The port on which the targets are listening.TargetGroup.Builder vpcId(String vpcId)
The ID of the VPC for the targets.
vpcId
- The ID of the VPC for the targets.TargetGroup.Builder healthCheckProtocol(String healthCheckProtocol)
The protocol to use to connect with the target.
healthCheckProtocol
- The protocol to use to connect with the target.ProtocolEnum
TargetGroup.Builder healthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol to use to connect with the target.
healthCheckProtocol
- The protocol to use to connect with the target.ProtocolEnum
TargetGroup.Builder healthCheckPort(String healthCheckPort)
The port to use to connect with the target.
healthCheckPort
- The port to use to connect with the target.TargetGroup.Builder healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target.
healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target.TargetGroup.Builder healthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
The amount of time, in seconds, during which no response means a failed health check.
healthCheckTimeoutSeconds
- The amount of time, in seconds, during which no response means a failed health check.TargetGroup.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.TargetGroup.Builder unhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering the target unhealthy.
unhealthyThresholdCount
- The number of consecutive health check failures required before considering the target unhealthy.TargetGroup.Builder healthCheckPath(String healthCheckPath)
The destination for the health check request.
healthCheckPath
- The destination for the health check request.TargetGroup.Builder matcher(Matcher matcher)
The HTTP codes to use when checking for a successful response from a target.
matcher
- The HTTP codes to use when checking for a successful response from a target.TargetGroup.Builder loadBalancerArns(Collection<String> loadBalancerArns)
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
loadBalancerArns
- The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.TargetGroup.Builder loadBalancerArns(String... loadBalancerArns)
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
NOTE: This method appends the values to the existing list (if any). Use
#setLoadBalancerArns(java.util.Collection)
or #withLoadBalancerArns(java.util.Collection)
if
you want to override the existing values.
loadBalancerArns
- The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.