Class TargetGroupConfig
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TargetGroupConfig.Builder,
TargetGroupConfig>
Describes the configuration of a target group. Lambda functions don't support target group configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TargetGroupConfig.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final HealthCheckConfig
The health check configuration.final IpAddressType
The type of IP address used for the target group.final String
The type of IP address used for the target group.Lambda event structure versionfinal String
Lambda event structure versionfinal Integer
port()
The port on which the targets are listening.final TargetGroupProtocol
protocol()
The protocol to use for routing traffic to the targets.final String
The protocol to use for routing traffic to the targets.The protocol version.final String
The protocol version.static Class
<? extends TargetGroupConfig.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The ID of the VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
healthCheck
The health check configuration.
- Returns:
- The health check configuration.
-
ipAddressType
The type of IP address used for the target group. The possible values are
ipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
.If the service returns an enum value that is not available in the current SDK version,
ipAddressType
will returnIpAddressType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromipAddressTypeAsString()
.- Returns:
- The type of IP address used for the target group. The possible values are
ipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
. - See Also:
-
ipAddressTypeAsString
The type of IP address used for the target group. The possible values are
ipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
.If the service returns an enum value that is not available in the current SDK version,
ipAddressType
will returnIpAddressType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromipAddressTypeAsString()
.- Returns:
- The type of IP address used for the target group. The possible values are
ipv4
andipv6
. This is an optional parameter. If not specified, the IP address type defaults toipv4
. - See Also:
-
lambdaEventStructureVersion
Lambda event structure version
If the service returns an enum value that is not available in the current SDK version,
lambdaEventStructureVersion
will returnLambdaEventStructureVersion.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlambdaEventStructureVersionAsString()
.- Returns:
- Lambda event structure version
- See Also:
-
lambdaEventStructureVersionAsString
Lambda event structure version
If the service returns an enum value that is not available in the current SDK version,
lambdaEventStructureVersion
will returnLambdaEventStructureVersion.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlambdaEventStructureVersionAsString()
.- Returns:
- Lambda event structure version
- See Also:
-
port
The port on which the targets are listening. For HTTP, the default is
80
. For HTTPS, the default is443
- Returns:
- The port on which the targets are listening. For HTTP, the default is
80
. For HTTPS, the default is443
-
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 returnTargetGroupProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprotocolAsString()
.- Returns:
- The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
- See Also:
-
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 returnTargetGroupProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprotocolAsString()
.- Returns:
- The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
- See Also:
-
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 returnTargetGroupProtocolVersion.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprotocolVersionAsString()
.- Returns:
- The protocol version. Default value is
HTTP1
. - See Also:
-
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 returnTargetGroupProtocolVersion.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprotocolVersionAsString()
.- Returns:
- The protocol version. Default value is
HTTP1
. - See Also:
-
vpcIdentifier
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TargetGroupConfig.Builder,
TargetGroupConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-