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.Builderbuilder()final booleanfinal booleanequalsBySdkFields(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 inthashCode()final HealthCheckConfigThe health check configuration.final IpAddressTypeThe type of IP address used for the target group.final StringThe type of IP address used for the target group.Lambda event structure versionfinal StringLambda event structure versionfinal Integerport()The port on which the targets are listening.final TargetGroupProtocolprotocol()The protocol to use for routing traffic to the targets.final StringThe protocol to use for routing traffic to the targets.The protocol version.final StringThe 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 StringtoString()Returns a string representation of this object.final StringThe 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
ipv4andipv6. 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,
ipAddressTypewill 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 
ipv4andipv6. 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
ipv4andipv6. 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,
ipAddressTypewill 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 
ipv4andipv6. 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,
lambdaEventStructureVersionwill 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,
lambdaEventStructureVersionwill 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,
protocolwill 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,
protocolwill 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,
protocolVersionwill 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,
protocolVersionwill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig> - Returns:
 - a builder for type T
 
 - 
builder
 - 
serializableBuilderClass
 - 
hashCode
public final int hashCode() - 
equals
 - 
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
 equalsBySdkFieldsin 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
 
 -