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
Modifier and TypeMethodDescriptionhealthCheckPort(String healthCheckPort) The port to use to connect with the target.default TargetHealthDescription.Buildertarget(Consumer<TargetDescription.Builder> target) The description of the target.target(TargetDescription target) The description of the target.default TargetHealthDescription.BuildertargetHealth(Consumer<TargetHealth.Builder> targetHealth) The health information for the target.targetHealth(TargetHealth targetHealth) The health information for the target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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
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:
-