@Stability(value=Experimental) public static final class BaseTargetGroupProps.Builder extends Object implements software.amazon.jsii.Builder<BaseTargetGroupProps>
BaseTargetGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BaseTargetGroupProps |
build()
Builds the configured instance.
|
BaseTargetGroupProps.Builder |
deregistrationDelay(Duration deregistrationDelay)
Sets the value of
BaseTargetGroupProps.getDeregistrationDelay() |
BaseTargetGroupProps.Builder |
healthCheck(HealthCheck healthCheck)
Sets the value of
BaseTargetGroupProps.getHealthCheck() |
BaseTargetGroupProps.Builder |
targetGroupName(String targetGroupName)
Sets the value of
BaseTargetGroupProps.getTargetGroupName() |
BaseTargetGroupProps.Builder |
targetType(TargetType targetType)
Sets the value of
BaseTargetGroupProps.getTargetType() |
BaseTargetGroupProps.Builder |
vpc(IVpc vpc)
Sets the value of
BaseTargetGroupProps.getVpc() |
@Stability(value=Experimental) public BaseTargetGroupProps.Builder deregistrationDelay(Duration deregistrationDelay)
BaseTargetGroupProps.getDeregistrationDelay()deregistrationDelay - The amount of time for Elastic Load Balancing to wait before deregistering a target.
The range is 0-3600 seconds.this@Stability(value=Experimental) public BaseTargetGroupProps.Builder healthCheck(HealthCheck healthCheck)
BaseTargetGroupProps.getHealthCheck()healthCheck - Health check configuration.this@Stability(value=Experimental) public BaseTargetGroupProps.Builder targetGroupName(String targetGroupName)
BaseTargetGroupProps.getTargetGroupName()targetGroupName - The name of the target group.
This name must be unique per region per account, can have a maximum of
32 characters, must contain only alphanumeric characters or hyphens, and
must not begin or end with a hyphen.this@Stability(value=Experimental) public BaseTargetGroupProps.Builder targetType(TargetType targetType)
BaseTargetGroupProps.getTargetType()targetType - The type of targets registered to this TargetGroup, either IP or Instance.
All targets registered into the group must be of this type. If you
register targets to the TargetGroup in the CDK app, the TargetType is
determined automatically.this@Stability(value=Experimental) public BaseTargetGroupProps.Builder vpc(IVpc vpc)
BaseTargetGroupProps.getVpc()vpc - The virtual private cloud (VPC).
only if TargetType is Ip or InstanceIdthis@Stability(value=Experimental) public BaseTargetGroupProps build()
build in interface software.amazon.jsii.Builder<BaseTargetGroupProps>BaseTargetGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.