Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateTargetGroupRequest.Builder,CreateTargetGroupRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateTargetGroupRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateTargetGroupRequest.Builder,CreateTargetGroupRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateTargetGroupRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreateTargetGroupRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
healthCheckIntervalSeconds() |
The approximate amount of time, in seconds, between health checks of an individual target.
|
String |
healthCheckPath() |
The ping path that is the destination on the targets for health checks.
|
String |
healthCheckPort() |
The port the load balancer uses when performing health checks on targets.
|
String |
healthCheckProtocol() |
The protocol the load balancer uses when performing health checks on targets.
|
Integer |
healthCheckTimeoutSeconds() |
The amount of time, in seconds, during which no response from a target means a failed health check.
|
Integer |
healthyThresholdCount() |
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
Matcher |
matcher() |
The HTTP codes to use when checking for a successful response from a target.
|
String |
name() |
The name of the target group.
|
Integer |
port() |
The port on which the targets receive traffic.
|
String |
protocol() |
The protocol to use for routing traffic to the targets.
|
static Class<? extends CreateTargetGroupRequest.Builder> |
serializableBuilderClass() |
|
CreateTargetGroupRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Integer |
unhealthyThresholdCount() |
The number of consecutive health check failures required before considering a target unhealthy.
|
String |
vpcId() |
The identifier of the virtual private cloud (VPC).
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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.
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.
public String protocol()
The protocol to use for routing traffic to the targets.
ProtocolEnum
public Integer port()
The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target.
public String vpcId()
The identifier of the virtual private cloud (VPC).
public String healthCheckProtocol()
The protocol the load balancer uses when performing health checks on targets. The default is the HTTP protocol.
ProtocolEnum
public 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.
traffic-port
, which indicates the port on which each target receives traffic from the load
balancer.public String healthCheckPath()
The ping path that is the destination on the targets for health checks. The default is /.
public Integer healthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target. The default is 30 seconds.
public 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.
public Integer healthyThresholdCount()
The number of consecutive health checks successes required before considering an unhealthy target healthy. The default is 5.
public Integer unhealthyThresholdCount()
The number of consecutive health check failures required before considering a target unhealthy. The default is 2.
public Matcher matcher()
The HTTP codes to use when checking for a successful response from a target. The default is 200.
public CreateTargetGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateTargetGroupRequest.Builder,CreateTargetGroupRequest>
public static CreateTargetGroupRequest.Builder builder()
public static Class<? extends CreateTargetGroupRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.