Class TargetGroupConfig
- java.lang.Object
-
- software.amazon.awssdk.services.vpclattice.model.TargetGroupConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTargetGroupConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetGroupConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HealthCheckConfighealthCheck()The health check configuration.IpAddressTypeipAddressType()The type of IP address used for the target group.StringipAddressTypeAsString()The type of IP address used for the target group.LambdaEventStructureVersionlambdaEventStructureVersion()Lambda event structure versionStringlambdaEventStructureVersionAsString()Lambda event structure versionIntegerport()The port on which the targets are listening.TargetGroupProtocolprotocol()The protocol to use for routing traffic to the targets.StringprotocolAsString()The protocol to use for routing traffic to the targets.TargetGroupProtocolVersionprotocolVersion()The protocol version.StringprotocolVersionAsString()The protocol version.List<SdkField<?>>sdkFields()static Class<? extends TargetGroupConfig.Builder>serializableBuilderClass()TargetGroupConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcIdentifier()The ID of the VPC.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
healthCheck
public final HealthCheckConfig healthCheck()
The health check configuration.
- Returns:
- The health check configuration.
-
ipAddressType
public final IpAddressType 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:
IpAddressType
-
ipAddressTypeAsString
public final String 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:
IpAddressType
-
lambdaEventStructureVersion
public final LambdaEventStructureVersion 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:
LambdaEventStructureVersion
-
lambdaEventStructureVersionAsString
public final String 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:
LambdaEventStructureVersion
-
port
public final Integer 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
public 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,
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:
TargetGroupProtocol
-
protocolAsString
public 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,
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:
TargetGroupProtocol
-
protocolVersion
public 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,
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:
TargetGroupProtocolVersion
-
protocolVersionAsString
public 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,
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:
TargetGroupProtocolVersion
-
vpcIdentifier
public final String vpcIdentifier()
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
toBuilder
public TargetGroupConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TargetGroupConfig.Builder,TargetGroupConfig>
-
builder
public static TargetGroupConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends TargetGroupConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-