Interface TargetHealth.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetHealth.Builder,TargetHealth>
,SdkBuilder<TargetHealth.Builder,TargetHealth>
,SdkPojo
- Enclosing class:
- TargetHealth
public static interface TargetHealth.Builder extends SdkPojo, CopyableBuilder<TargetHealth.Builder,TargetHealth>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetHealth.Builder
description(String description)
A description of the health of the RDS Proxy target.TargetHealth.Builder
reason(String reason)
The reason for the current healthState
of the RDS Proxy target.TargetHealth.Builder
reason(TargetHealthReason reason)
The reason for the current healthState
of the RDS Proxy target.TargetHealth.Builder
state(String state)
The current state of the connection health lifecycle for the RDS Proxy target.TargetHealth.Builder
state(TargetState state)
The current state of the connection health lifecycle for the RDS Proxy 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
state
TargetHealth.Builder state(String state)
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering
>unavailable
>available
>unavailable
>available
- Parameters:
state
- The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:registering
>unavailable
>available
>unavailable
>available
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetState
,TargetState
-
state
TargetHealth.Builder state(TargetState state)
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering
>unavailable
>available
>unavailable
>available
- Parameters:
state
- The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:registering
>unavailable
>available
>unavailable
>available
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetState
,TargetState
-
reason
TargetHealth.Builder reason(String reason)
The reason for the current health
State
of the RDS Proxy target.- Parameters:
reason
- The reason for the current healthState
of the RDS Proxy target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetHealthReason
,TargetHealthReason
-
reason
TargetHealth.Builder reason(TargetHealthReason reason)
The reason for the current health
State
of the RDS Proxy target.- Parameters:
reason
- The reason for the current healthState
of the RDS Proxy target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetHealthReason
,TargetHealthReason
-
description
TargetHealth.Builder description(String description)
A description of the health of the RDS Proxy target. If the
State
isAVAILABLE
, a description is not included.- Parameters:
description
- A description of the health of the RDS Proxy target. If theState
isAVAILABLE
, a description is not included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-