Interface TargetHealthDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetHealthDescription.Builder,,TargetHealthDescription> SdkBuilder<TargetHealthDescription.Builder,,TargetHealthDescription> SdkPojo
- Enclosing class:
TargetHealthDescription
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetHealthDescription.BuilderadministrativeOverride(Consumer<AdministrativeOverride.Builder> administrativeOverride) The administrative override information for the target.administrativeOverride(AdministrativeOverride administrativeOverride) The administrative override information for the target.default TargetHealthDescription.BuilderanomalyDetection(Consumer<AnomalyDetection.Builder> anomalyDetection) The anomaly detection result for the target.anomalyDetection(AnomalyDetection anomalyDetection) The anomaly detection result for the target.healthCheckPort(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:
-
anomalyDetection
The anomaly detection result for the target.
If no anomalies were detected, the result is
normal.If anomalies were detected, the result is
anomalous.- Parameters:
anomalyDetection- The anomaly detection result for the target.If no anomalies were detected, the result is
normal.If anomalies were detected, the result is
anomalous.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetection
default TargetHealthDescription.Builder anomalyDetection(Consumer<AnomalyDetection.Builder> anomalyDetection) The anomaly detection result for the target.
If no anomalies were detected, the result is
normal.If anomalies were detected, the result is
This is a convenience method that creates an instance of theanomalous.AnomalyDetection.Builderavoiding the need to create one manually viaAnomalyDetection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanomalyDetection(AnomalyDetection).- Parameters:
anomalyDetection- a consumer that will call methods onAnomalyDetection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
administrativeOverride
TargetHealthDescription.Builder administrativeOverride(AdministrativeOverride administrativeOverride) The administrative override information for the target.
- Parameters:
administrativeOverride- The administrative override information for the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
administrativeOverride
default TargetHealthDescription.Builder administrativeOverride(Consumer<AdministrativeOverride.Builder> administrativeOverride) The administrative override information for the target.
This is a convenience method that creates an instance of theAdministrativeOverride.Builderavoiding the need to create one manually viaAdministrativeOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadministrativeOverride(AdministrativeOverride).- Parameters:
administrativeOverride- a consumer that will call methods onAdministrativeOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-