public static final class AddNetworkTargetsProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddNetworkTargetsProps
AddNetworkTargetsProps
AddNetworkTargetsProps.Builder, AddNetworkTargetsProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
Duration |
getDeregistrationDelay()
The amount of time for Elastic Load Balancing to wait before deregistering a target.
|
HealthCheck |
getHealthCheck()
Health check configuration.
|
java.lang.Number |
getPort()
The port on which the listener listens for requests.
|
java.lang.Boolean |
getPreserveClientIp()
Indicates whether client IP preservation is enabled.
|
Protocol |
getProtocol()
Protocol for target group, expects TCP, TLS, UDP, or TCP_UDP.
|
java.lang.Boolean |
getProxyProtocolV2()
Indicates whether Proxy Protocol version 2 is enabled.
|
java.lang.String |
getTargetGroupName()
The name of the target group.
|
java.util.List<INetworkLoadBalancerTarget> |
getTargets()
The targets to add to this target group.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getPort()
AddNetworkTargetsProps
Default: Determined from protocol if known
getPort
in interface AddNetworkTargetsProps
public final Duration getDeregistrationDelay()
AddNetworkTargetsProps
The range is 0-3600 seconds.
Default: Duration.minutes(5)
getDeregistrationDelay
in interface AddNetworkTargetsProps
public final HealthCheck getHealthCheck()
AddNetworkTargetsProps
Default: - The default value for each property in this configuration varies depending on the target.
public final java.lang.Boolean getPreserveClientIp()
AddNetworkTargetsProps
Default: false if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, true.
getPreserveClientIp
in interface AddNetworkTargetsProps
public final Protocol getProtocol()
AddNetworkTargetsProps
Default: - inherits the protocol of the listener
getProtocol
in interface AddNetworkTargetsProps
public final java.lang.Boolean getProxyProtocolV2()
AddNetworkTargetsProps
Default: false
getProxyProtocolV2
in interface AddNetworkTargetsProps
public final java.lang.String getTargetGroupName()
AddNetworkTargetsProps
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.
Default: Automatically generated
getTargetGroupName
in interface AddNetworkTargetsProps
public final java.util.List<INetworkLoadBalancerTarget> getTargets()
AddNetworkTargetsProps
Can be Instance
, IPAddress
, or any self-registering load balancing
target. If you use either Instance
or IPAddress
as targets, all
target must be of the same type.
getTargets
in interface AddNetworkTargetsProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()