@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetGroupConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of a target group. Lambda functions don't support target group configuration.
| Constructor and Description |
|---|
TargetGroupConfig() |
| Modifier and Type | Method and Description |
|---|---|
TargetGroupConfig |
clone() |
boolean |
equals(Object obj) |
HealthCheckConfig |
getHealthCheck()
The health check configuration.
|
String |
getIpAddressType()
The type of IP address used for the target group.
|
String |
getLambdaEventStructureVersion()
Lambda event structure version
|
Integer |
getPort()
The port on which the targets are listening.
|
String |
getProtocol()
The protocol to use for routing traffic to the targets.
|
String |
getProtocolVersion()
The protocol version.
|
String |
getVpcIdentifier()
The ID of the VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setHealthCheck(HealthCheckConfig healthCheck)
The health check configuration.
|
void |
setIpAddressType(String ipAddressType)
The type of IP address used for the target group.
|
void |
setLambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
|
void |
setPort(Integer port)
The port on which the targets are listening.
|
void |
setProtocol(String protocol)
The protocol to use for routing traffic to the targets.
|
void |
setProtocolVersion(String protocolVersion)
The protocol version.
|
void |
setVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
TargetGroupConfig |
withHealthCheck(HealthCheckConfig healthCheck)
The health check configuration.
|
TargetGroupConfig |
withIpAddressType(IpAddressType ipAddressType)
The type of IP address used for the target group.
|
TargetGroupConfig |
withIpAddressType(String ipAddressType)
The type of IP address used for the target group.
|
TargetGroupConfig |
withLambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
Lambda event structure version
|
TargetGroupConfig |
withLambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
|
TargetGroupConfig |
withPort(Integer port)
The port on which the targets are listening.
|
TargetGroupConfig |
withProtocol(String protocol)
The protocol to use for routing traffic to the targets.
|
TargetGroupConfig |
withProtocol(TargetGroupProtocol protocol)
The protocol to use for routing traffic to the targets.
|
TargetGroupConfig |
withProtocolVersion(String protocolVersion)
The protocol version.
|
TargetGroupConfig |
withProtocolVersion(TargetGroupProtocolVersion protocolVersion)
The protocol version.
|
TargetGroupConfig |
withVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
|
public void setHealthCheck(HealthCheckConfig healthCheck)
The health check configuration.
healthCheck - The health check configuration.public HealthCheckConfig getHealthCheck()
The health check configuration.
public TargetGroupConfig withHealthCheck(HealthCheckConfig healthCheck)
The health check configuration.
healthCheck - The health check configuration.public void setIpAddressType(String 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.
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.IpAddressTypepublic String getIpAddressType()
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.
ipv4 and
ipv6. This is an optional parameter. If not specified, the IP address type defaults to
ipv4.IpAddressTypepublic TargetGroupConfig withIpAddressType(String 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.
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.IpAddressTypepublic TargetGroupConfig withIpAddressType(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.
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.IpAddressTypepublic void setLambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion - Lambda event structure versionLambdaEventStructureVersionpublic String getLambdaEventStructureVersion()
Lambda event structure version
LambdaEventStructureVersionpublic TargetGroupConfig withLambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion - Lambda event structure versionLambdaEventStructureVersionpublic TargetGroupConfig withLambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion - Lambda event structure versionLambdaEventStructureVersionpublic void setPort(Integer port)
The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is
443
port - The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the
default is 443public Integer getPort()
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 TargetGroupConfig withPort(Integer port)
The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is
443
port - The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the
default is 443public void setProtocol(String protocol)
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
protocol - The protocol to use for routing traffic to the targets. Default is the protocol of a target group.TargetGroupProtocolpublic String getProtocol()
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
TargetGroupProtocolpublic TargetGroupConfig withProtocol(String protocol)
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
protocol - The protocol to use for routing traffic to the targets. Default is the protocol of a target group.TargetGroupProtocolpublic TargetGroupConfig withProtocol(TargetGroupProtocol protocol)
The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
protocol - The protocol to use for routing traffic to the targets. Default is the protocol of a target group.TargetGroupProtocolpublic void setProtocolVersion(String protocolVersion)
The protocol version. Default value is HTTP1.
protocolVersion - The protocol version. Default value is HTTP1.TargetGroupProtocolVersionpublic String getProtocolVersion()
The protocol version. Default value is HTTP1.
HTTP1.TargetGroupProtocolVersionpublic TargetGroupConfig withProtocolVersion(String protocolVersion)
The protocol version. Default value is HTTP1.
protocolVersion - The protocol version. Default value is HTTP1.TargetGroupProtocolVersionpublic TargetGroupConfig withProtocolVersion(TargetGroupProtocolVersion protocolVersion)
The protocol version. Default value is HTTP1.
protocolVersion - The protocol version. Default value is HTTP1.TargetGroupProtocolVersionpublic void setVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
vpcIdentifier - The ID of the VPC.public String getVpcIdentifier()
The ID of the VPC.
public TargetGroupConfig withVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
vpcIdentifier - The ID of the VPC.public String toString()
toString in class ObjectObject.toString()public TargetGroupConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.