public static interface TargetHealthDescription.Builder extends CopyableBuilder<TargetHealthDescription.Builder,TargetHealthDescription>
Modifier and Type | Method and Description |
---|---|
TargetHealthDescription.Builder |
healthCheckPort(String healthCheckPort)
The port to use to connect with the target.
|
default TargetHealthDescription.Builder |
target(Consumer<TargetDescription.Builder> target)
The description of the target.
|
TargetHealthDescription.Builder |
target(TargetDescription target)
The description of the target.
|
default TargetHealthDescription.Builder |
targetHealth(Consumer<TargetHealth.Builder> targetHealth)
The health information for the target.
|
TargetHealthDescription.Builder |
targetHealth(TargetHealth targetHealth)
The health information for the target.
|
copy
apply, build
TargetHealthDescription.Builder target(TargetDescription target)
The description of the target.
target
- The description of the target.default TargetHealthDescription.Builder target(Consumer<TargetDescription.Builder> target)
The description of the target.
This is a convenience that creates an instance of theTargetDescription.Builder
avoiding the need to
create one manually via TargetDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to target(TargetDescription)
.target
- a consumer that will call methods on TargetDescription.Builder
target(TargetDescription)
TargetHealthDescription.Builder healthCheckPort(String healthCheckPort)
The port to use to connect with the target.
healthCheckPort
- The port to use to connect with the target.TargetHealthDescription.Builder targetHealth(TargetHealth targetHealth)
The health information for the target.
targetHealth
- The health information for the target.default TargetHealthDescription.Builder targetHealth(Consumer<TargetHealth.Builder> targetHealth)
The health information for the target.
This is a convenience that creates an instance of theTargetHealth.Builder
avoiding the need to
create one manually via TargetHealth.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to targetHealth(TargetHealth)
.targetHealth
- a consumer that will call methods on TargetHealth.Builder
targetHealth(TargetHealth)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.