Interface DuoHealthCheck.IBuildStage
-
- All Known Implementing Classes:
DuoHealthCheck.Builder
- Enclosing class:
- DuoHealthCheck
public static interface DuoHealthCheck.IBuildStageRequired fields builder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DuoHealthCheckbuild()Build the health check response.DuoHealthCheck.IBuildStagewithCode(String code)Set the code.DuoHealthCheck.IBuildStagewithMessage(String message)Set the message.DuoHealthCheck.IBuildStagewithMessageDetail(String messageDetail)Set the messageDetail.DuoHealthCheck.IBuildStagewithResponse(DuoHealthCheckResponse response)Set the response.DuoHealthCheck.IBuildStagewithTimestamp(String timestamp)Set the timestamp.
-
-
-
Method Detail
-
withResponse
DuoHealthCheck.IBuildStage withResponse(DuoHealthCheckResponse response)
Set the response.- Parameters:
response- the response.- Returns:
- the builder.
-
withCode
DuoHealthCheck.IBuildStage withCode(String code)
Set the code.- Parameters:
code- the code- Returns:
- the builder.
-
withTimestamp
DuoHealthCheck.IBuildStage withTimestamp(String timestamp)
Set the timestamp.- Parameters:
timestamp- the timestamp- Returns:
- the builder.
-
withMessage
DuoHealthCheck.IBuildStage withMessage(String message)
Set the message.- Parameters:
message- the message- Returns:
- the builder.
-
withMessageDetail
DuoHealthCheck.IBuildStage withMessageDetail(String messageDetail)
Set the messageDetail.- Parameters:
messageDetail- the messageDetail- Returns:
- the builder.
-
build
DuoHealthCheck build()
Build the health check response.- Returns:
- the health check response.
-
-