CopyableBuilder<CreateTargetGroupRequest.Builder,CreateTargetGroupRequest>
, SdkBuilder<CreateTargetGroupRequest.Builder,CreateTargetGroupRequest>
public static interface CreateTargetGroupRequest.Builder extends CopyableBuilder<CreateTargetGroupRequest.Builder,CreateTargetGroupRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateTargetGroupRequest.Builder |
healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds) |
The approximate amount of time, in seconds, between health checks of an individual target.
|
CreateTargetGroupRequest.Builder |
healthCheckPath(String healthCheckPath) |
The ping path that is the destination on the targets for health checks.
|
CreateTargetGroupRequest.Builder |
healthCheckPort(String healthCheckPort) |
The port the load balancer uses when performing health checks on targets.
|
CreateTargetGroupRequest.Builder |
healthCheckProtocol(String healthCheckProtocol) |
The protocol the load balancer uses when performing health checks on targets.
|
CreateTargetGroupRequest.Builder |
healthCheckProtocol(ProtocolEnum healthCheckProtocol) |
The protocol the load balancer uses when performing health checks on targets.
|
CreateTargetGroupRequest.Builder |
healthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds) |
The amount of time, in seconds, during which no response from a target means a failed health check.
|
CreateTargetGroupRequest.Builder |
healthyThresholdCount(Integer healthyThresholdCount) |
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
CreateTargetGroupRequest.Builder |
matcher(Matcher matcher) |
The HTTP codes to use when checking for a successful response from a target.
|
CreateTargetGroupRequest.Builder |
name(String name) |
The name of the target group.
|
CreateTargetGroupRequest.Builder |
port(Integer port) |
The port on which the targets receive traffic.
|
CreateTargetGroupRequest.Builder |
protocol(String protocol) |
The protocol to use for routing traffic to the targets.
|
CreateTargetGroupRequest.Builder |
protocol(ProtocolEnum protocol) |
The protocol to use for routing traffic to the targets.
|
CreateTargetGroupRequest.Builder |
unhealthyThresholdCount(Integer unhealthyThresholdCount) |
The number of consecutive health check failures required before considering a target unhealthy.
|
CreateTargetGroupRequest.Builder |
vpcId(String vpcId) |
The identifier of the virtual private cloud (VPC).
|
copy
apply, build
CreateTargetGroupRequest.Builder name(String name)
The name of the target group.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
name
- The name of the target group.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
CreateTargetGroupRequest.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
CreateTargetGroupRequest.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
CreateTargetGroupRequest.Builder port(Integer port)
The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target.
port
- The port on which the targets receive traffic. This port is used unless you specify a port override
when registering the target.CreateTargetGroupRequest.Builder vpcId(String vpcId)
The identifier of the virtual private cloud (VPC).
vpcId
- The identifier of the virtual private cloud (VPC).CreateTargetGroupRequest.Builder healthCheckProtocol(String healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. The default is the HTTP protocol.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. The default is the HTTP
protocol.ProtocolEnum
CreateTargetGroupRequest.Builder healthCheckProtocol(ProtocolEnum healthCheckProtocol)
The protocol the load balancer uses when performing health checks on targets. The default is the HTTP protocol.
healthCheckProtocol
- The protocol the load balancer uses when performing health checks on targets. The default is the HTTP
protocol.ProtocolEnum
CreateTargetGroupRequest.Builder healthCheckPort(String healthCheckPort)
The port the load balancer uses when performing health checks on targets. The default is
traffic-port
, which indicates the port on which each target receives traffic from the load
balancer.
healthCheckPort
- The port the load balancer uses when performing health checks on targets. The default is
traffic-port
, which indicates the port on which each target receives traffic from the
load balancer.CreateTargetGroupRequest.Builder healthCheckPath(String healthCheckPath)
The ping path that is the destination on the targets for health checks. The default is /.
healthCheckPath
- The ping path that is the destination on the targets for health checks. The default is /.CreateTargetGroupRequest.Builder healthCheckIntervalSeconds(Integer healthCheckIntervalSeconds)
The approximate amount of time, in seconds, between health checks of an individual target. The default is 30 seconds.
healthCheckIntervalSeconds
- The approximate amount of time, in seconds, between health checks of an individual target. The default
is 30 seconds.CreateTargetGroupRequest.Builder healthCheckTimeoutSeconds(Integer healthCheckTimeoutSeconds)
The amount of time, in seconds, during which no response from a target means a failed health check. The default is 5 seconds.
healthCheckTimeoutSeconds
- The amount of time, in seconds, during which no response from a target means a failed health check.
The default is 5 seconds.CreateTargetGroupRequest.Builder healthyThresholdCount(Integer healthyThresholdCount)
The number of consecutive health checks successes required before considering an unhealthy target healthy. The default is 5.
healthyThresholdCount
- The number of consecutive health checks successes required before considering an unhealthy target
healthy. The default is 5.CreateTargetGroupRequest.Builder unhealthyThresholdCount(Integer unhealthyThresholdCount)
The number of consecutive health check failures required before considering a target unhealthy. The default is 2.
unhealthyThresholdCount
- The number of consecutive health check failures required before considering a target unhealthy. The
default is 2.CreateTargetGroupRequest.Builder matcher(Matcher matcher)
The HTTP codes to use when checking for a successful response from a target. The default is 200.
matcher
- The HTTP codes to use when checking for a successful response from a target. The default is 200.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.