Interface TargetHealthDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>,SdkBuilder<TargetHealthDescription.Builder,TargetHealthDescription>,SdkPojo
- Enclosing class:
- TargetHealthDescription
public static interface TargetHealthDescription.Builder extends SdkPojo, CopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TargetHealthDescription.BuilderhealthCheckPort(String healthCheckPort)The port to use to connect with the target.default TargetHealthDescription.Buildertarget(Consumer<TargetDescription.Builder> target)The description of the target.TargetHealthDescription.Buildertarget(TargetDescription target)The description of the target.default TargetHealthDescription.BuildertargetHealth(Consumer<TargetHealth.Builder> targetHealth)The health information for the target.TargetHealthDescription.BuildertargetHealth(TargetHealth targetHealth)The health information for the target.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
target
TargetHealthDescription.Builder target(TargetDescription target)
The description of the target.
- Parameters:
target- The description of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default TargetHealthDescription.Builder target(Consumer<TargetDescription.Builder> target)
The description of the target.
This is a convenience method that creates an instance of theTargetDescription.Builderavoiding the need to create one manually viaTargetDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(TargetDescription).- Parameters:
target- a consumer that will call methods onTargetDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
target(TargetDescription)
-
healthCheckPort
TargetHealthDescription.Builder healthCheckPort(String healthCheckPort)
The port to use to connect with the target.
- Parameters:
healthCheckPort- The port to use to connect with the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetHealth
TargetHealthDescription.Builder targetHealth(TargetHealth targetHealth)
The health information for the target.
- Parameters:
targetHealth- The health information for the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetHealth
default TargetHealthDescription.Builder targetHealth(Consumer<TargetHealth.Builder> targetHealth)
The health information for the target.
This is a convenience method that creates an instance of theTargetHealth.Builderavoiding the need to create one manually viaTargetHealth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetHealth(TargetHealth).- Parameters:
targetHealth- a consumer that will call methods onTargetHealth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
targetHealth(TargetHealth)
-
-