Interface DuoHealthCheck.IBuildStage
- All Known Implementing Classes:
DuoHealthCheck.Builder
- Enclosing class:
- DuoHealthCheck
public static interface DuoHealthCheck.IBuildStage
Required fields builder.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the health check response.Set the code.withMessage(String message) Set the message.withMessageDetail(String messageDetail) Set the messageDetail.withResponse(DuoHealthCheckResponse response) Set the response.withTimestamp(String timestamp) Set the timestamp.
-
Method Details
-
withResponse
Set the response.- Parameters:
response- the response.- Returns:
- the builder.
-
withCode
Set the code.- Parameters:
code- the code- Returns:
- the builder.
-
withTimestamp
Set the timestamp.- Parameters:
timestamp- the timestamp- Returns:
- the builder.
-
withMessage
Set the message.- Parameters:
message- the message- Returns:
- the builder.
-
withMessageDetail
Set the messageDetail.- Parameters:
messageDetail- the messageDetail- Returns:
- the builder.
-
build
DuoHealthCheck build()Build the health check response.- Returns:
- the health check response.
-