@Generated(value="software.amazon.awssdk:codegen") public class ModifyTargetGroupRequest extends ElasticLoadBalancingv2Request implements ToCopyableBuilder<ModifyTargetGroupRequest.Builder,ModifyTargetGroupRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ModifyTargetGroupRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ModifyTargetGroupRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
healthCheckIntervalSeconds()
The approximate amount of time, in seconds, between health checks of an individual target.
|
String |
healthCheckPath()
[HTTP/HTTPS health checks] The ping path that is the destination for the health check request.
|
String |
healthCheckPort()
The port the load balancer uses when performing health checks on targets.
|
ProtocolEnum |
healthCheckProtocol()
The protocol the load balancer uses when performing health checks on targets.
|
String |
healthCheckProtocolString()
The protocol the load balancer uses when performing health checks on targets.
|
Integer |
healthCheckTimeoutSeconds()
[HTTP/HTTPS health checks] 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.
|
Matcher |
matcher()
[HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.
|
static Class<? extends ModifyTargetGroupRequest.Builder> |
serializableBuilderClass() |
String |
targetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
ModifyTargetGroupRequest.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.
|
requestOverrideConfig
copy
public String targetGroupArn()
The Amazon Resource Name (ARN) of the target group.
public 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.
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 healthCheckProtocolString()
.
ProtocolEnum
public String healthCheckProtocolString()
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.
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 healthCheckProtocolString()
.
ProtocolEnum
public String healthCheckPort()
The port the load balancer uses when performing health checks on targets.
public String healthCheckPath()
[HTTP/HTTPS health checks] The ping path that is the destination for the health check request.
public 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.
public Integer healthCheckTimeoutSeconds()
[HTTP/HTTPS health checks] 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. For Network Load Balancers, this value must be the same as the healthy threshold count.
public Matcher matcher()
[HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.
public ModifyTargetGroupRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyTargetGroupRequest.Builder,ModifyTargetGroupRequest>
toBuilder
in class ElasticLoadBalancingv2Request
public static ModifyTargetGroupRequest.Builder builder()
public static Class<? extends ModifyTargetGroupRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.