@Generated(value="software.amazon.awssdk:codegen") public final class TargetGroupConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>
Describes the configuration of a target group. Lambda functions don't support target group configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetGroupConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TargetGroupConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HealthCheckConfig |
healthCheck()
The health check configuration.
|
IpAddressType |
ipAddressType()
The type of IP address used for the target group.
|
String |
ipAddressTypeAsString()
The type of IP address used for the target group.
|
LambdaEventStructureVersion |
lambdaEventStructureVersion()
Lambda event structure version
|
String |
lambdaEventStructureVersionAsString()
Lambda event structure version
|
Integer |
port()
The port on which the targets are listening.
|
TargetGroupProtocol |
protocol()
The protocol to use for routing traffic to the targets.
|
String |
protocolAsString()
The protocol to use for routing traffic to the targets.
|
TargetGroupProtocolVersion |
protocolVersion()
The protocol version.
|
String |
protocolVersionAsString()
The protocol version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetGroupConfig.Builder> |
serializableBuilderClass() |
TargetGroupConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcIdentifier()
The ID of the VPC.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final HealthCheckConfig healthCheck()
The health check configuration.
public final IpAddressType ipAddressType()
The type of IP address used for the target group. The possible values are ipv4 and ipv6
. This is an optional parameter. If not specified, the IP address type defaults to ipv4.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
ipv4 and
ipv6. This is an optional parameter. If not specified, the IP address type defaults to
ipv4.IpAddressTypepublic final String ipAddressTypeAsString()
The type of IP address used for the target group. The possible values are ipv4 and ipv6
. This is an optional parameter. If not specified, the IP address type defaults to ipv4.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
ipv4 and
ipv6. This is an optional parameter. If not specified, the IP address type defaults to
ipv4.IpAddressTypepublic final LambdaEventStructureVersion lambdaEventStructureVersion()
Lambda event structure version
If the service returns an enum value that is not available in the current SDK version,
lambdaEventStructureVersion will return LambdaEventStructureVersion.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from lambdaEventStructureVersionAsString().
LambdaEventStructureVersionpublic final String lambdaEventStructureVersionAsString()
Lambda event structure version
If the service returns an enum value that is not available in the current SDK version,
lambdaEventStructureVersion will return LambdaEventStructureVersion.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from lambdaEventStructureVersionAsString().
LambdaEventStructureVersionpublic final Integer port()
The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is
443
80. For HTTPS, the
default is 443public final TargetGroupProtocol protocol()
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
If the service returns an enum value that is not available in the current SDK version, protocol will
return TargetGroupProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from protocolAsString().
TargetGroupProtocolpublic final String protocolAsString()
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
If the service returns an enum value that is not available in the current SDK version, protocol will
return TargetGroupProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from protocolAsString().
TargetGroupProtocolpublic final TargetGroupProtocolVersion protocolVersion()
The protocol version. Default value is HTTP1.
If the service returns an enum value that is not available in the current SDK version, protocolVersion
will return TargetGroupProtocolVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolVersionAsString().
HTTP1.TargetGroupProtocolVersionpublic final String protocolVersionAsString()
The protocol version. Default value is HTTP1.
If the service returns an enum value that is not available in the current SDK version, protocolVersion
will return TargetGroupProtocolVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolVersionAsString().
HTTP1.TargetGroupProtocolVersionpublic final String vpcIdentifier()
The ID of the VPC.
public TargetGroupConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>public static TargetGroupConfig.Builder builder()
public static Class<? extends TargetGroupConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.