@Generated(value="software.amazon.awssdk:codegen") public final class TargetGroup extends Object implements ToCopyableBuilder<TargetGroup.Builder,TargetGroup>
Information about a target group.
Modifier and Type | Class and Description |
---|---|
static interface |
TargetGroup.Builder |
Modifier and Type | Method and Description |
---|---|
static TargetGroup.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
healthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target.
|
String |
healthCheckPath()
The destination for the health check request.
|
String |
healthCheckPort()
The port to use to connect with the target.
|
ProtocolEnum |
healthCheckProtocol()
The protocol to use to connect with the target.
|
String |
healthCheckProtocolAsString()
The protocol to use to connect with the target.
|
Integer |
healthCheckTimeoutSeconds()
The amount of time, in seconds, during which no response means a failed health check.
|
Integer |
healthyThresholdCount()
The number of consecutive health checks successes required before considering an unhealthy target healthy.
|
List<String> |
loadBalancerArns()
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
|
Matcher |
matcher()
The HTTP codes to use when checking for a successful response from a target.
|
Integer |
port()
The port on which the targets are listening.
|
ProtocolEnum |
protocol()
The protocol to use for routing traffic to the targets.
|
String |
protocolAsString()
The protocol to use for routing traffic to the targets.
|
static Class<? extends TargetGroup.Builder> |
serializableBuilderClass() |
String |
targetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
String |
targetGroupName()
The name of the target group.
|
TargetTypeEnum |
targetType()
The type of target that you must specify when registering targets with this target group.
|
String |
targetTypeAsString()
The type of target that you must specify when registering targets with this target group.
|
TargetGroup.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 the target unhealthy.
|
String |
vpcId()
The ID of the VPC for the targets.
|
copy
public String targetGroupArn()
The Amazon Resource Name (ARN) of the target group.
public String targetGroupName()
The name of the target group.
public ProtocolEnum protocol()
The protocol to use for routing traffic to the targets.
If the service returns an enum value that is not available in the current SDK version, protocol
will
return ProtocolEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
protocolAsString()
.
ProtocolEnum
public String protocolAsString()
The protocol to use for routing traffic to the targets.
If the service returns an enum value that is not available in the current SDK version, protocol
will
return ProtocolEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
protocolAsString()
.
ProtocolEnum
public Integer port()
The port on which the targets are listening.
public String vpcId()
The ID of the VPC for the targets.
public ProtocolEnum healthCheckProtocol()
The protocol to use to connect with the target.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocol
will return ProtocolEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by
the service is available from healthCheckProtocolAsString()
.
ProtocolEnum
public String healthCheckProtocolAsString()
The protocol to use to connect with the target.
If the service returns an enum value that is not available in the current SDK version,
healthCheckProtocol
will return ProtocolEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by
the service is available from healthCheckProtocolAsString()
.
ProtocolEnum
public String healthCheckPort()
The port to use to connect with the target.
public Integer healthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target.
public Integer healthCheckTimeoutSeconds()
The amount of time, in seconds, during which no response means a failed health check.
public Integer healthyThresholdCount()
The number of consecutive health checks successes required before considering an unhealthy target healthy.
public Integer unhealthyThresholdCount()
The number of consecutive health check failures required before considering the target unhealthy.
public String healthCheckPath()
The destination for the health check request.
public Matcher matcher()
The HTTP codes to use when checking for a successful response from a target.
public List<String> loadBalancerArns()
The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public TargetTypeEnum targetType()
The type of target that you must specify when registering targets with this target group. The possible values are
instance
(targets are specified by instance ID) or ip
(targets are specified by IP
address).
If the service returns an enum value that is not available in the current SDK version, targetType
will
return TargetTypeEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
targetTypeAsString()
.
instance
(targets are specified by instance ID) or ip
(targets are
specified by IP address).TargetTypeEnum
public String targetTypeAsString()
The type of target that you must specify when registering targets with this target group. The possible values are
instance
(targets are specified by instance ID) or ip
(targets are specified by IP
address).
If the service returns an enum value that is not available in the current SDK version, targetType
will
return TargetTypeEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
targetTypeAsString()
.
instance
(targets are specified by instance ID) or ip
(targets are
specified by IP address).TargetTypeEnum
public TargetGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TargetGroup.Builder,TargetGroup>
public static TargetGroup.Builder builder()
public static Class<? extends TargetGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.