Class TargetGroupConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>
Describes the configuration of a target group.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
- 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.The version of the event structure that your Lambda function receives.final StringThe version of the event structure that your Lambda function receives.final 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. Not supported if the target group type is
LAMBDAorALB.- Returns:
- The health check configuration. Not supported if the target group type is
LAMBDAorALB.
-
ipAddressType
The type of IP address used for the target group. Supported only if the target group type is
IP. The default isIPV4.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. Supported only if the target group type is
IP. The default isIPV4. - See Also:
-
ipAddressTypeAsString
The type of IP address used for the target group. Supported only if the target group type is
IP. The default isIPV4.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. Supported only if the target group type is
IP. The default isIPV4. - See Also:
-
lambdaEventStructureVersion
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA. The default isV1.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:
- The version of the event structure that your Lambda function receives. Supported only if the target group
type is
LAMBDA. The default isV1. - See Also:
-
lambdaEventStructureVersionAsString
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA. The default isV1.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:
- The version of the event structure that your Lambda function receives. Supported only if the target group
type is
LAMBDA. The default isV1. - See Also:
-
port
The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is
LAMBDA.- Returns:
- The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443.
Not supported if the target group type is
LAMBDA.
-
protocol
The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA.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. The default is the protocol of the target group.
Not supported if the target group type is
LAMBDA. - See Also:
-
protocolAsString
The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is
LAMBDA.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. The default is the protocol of the target group.
Not supported if the target group type is
LAMBDA. - See Also:
-
protocolVersion
The protocol version. The default is
HTTP1. Not supported if the target group type isLAMBDA.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. The default is
HTTP1. Not supported if the target group type isLAMBDA. - See Also:
-
protocolVersionAsString
The protocol version. The default is
HTTP1. Not supported if the target group type isLAMBDA.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. The default is
HTTP1. Not supported if the target group type isLAMBDA. - See Also:
-
vpcIdentifier
The ID of the VPC. Not supported if the target group type is
LAMBDA.- Returns:
- The ID of the VPC. Not supported if the target group type is
LAMBDA.
-
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
-
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
-
getValueForField
-
sdkFields
-