Interface HealthCheckPolicy.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<HealthCheckPolicy.Builder,,- HealthCheckPolicy> - SdkBuilder<HealthCheckPolicy.Builder,,- HealthCheckPolicy> - SdkPojo
- Enclosing class:
- HealthCheckPolicy
- 
Method SummaryModifier and TypeMethodDescriptionhealthyThreshold(Integer healthyThreshold) The number of consecutive successful health checks that must occur before declaring listener healthy.intervalMillis(Long intervalMillis) The time period in milliseconds between each health check execution.The destination path for the health check request.The destination port for the health check request.The protocol for the health check request.protocol(PortProtocol protocol) The protocol for the health check request.timeoutMillis(Long timeoutMillis) The amount of time to wait when receiving a response from the health check, in milliseconds.unhealthyThreshold(Integer unhealthyThreshold) The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
healthyThresholdThe number of consecutive successful health checks that must occur before declaring listener healthy. - Parameters:
- healthyThreshold- The number of consecutive successful health checks that must occur before declaring listener healthy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
intervalMillisThe time period in milliseconds between each health check execution. - Parameters:
- intervalMillis- The time period in milliseconds between each health check execution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
pathThe destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored. - Parameters:
- path- The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
portThe destination port for the health check request. This port must match the port defined in the PortMapping for the listener. - Parameters:
- port- The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protocolThe protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.- Parameters:
- protocol- The protocol for the health check request. If you specify- grpc, then your service must conform to the GRPC Health Checking Protocol.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
protocolThe protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.- Parameters:
- protocol- The protocol for the health check request. If you specify- grpc, then your service must conform to the GRPC Health Checking Protocol.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timeoutMillisThe amount of time to wait when receiving a response from the health check, in milliseconds. - Parameters:
- timeoutMillis- The amount of time to wait when receiving a response from the health check, in milliseconds.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
unhealthyThresholdThe number of consecutive failed health checks that must occur before declaring a virtual node unhealthy. - Parameters:
- unhealthyThreshold- The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-