public static class ConnectionValidationResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectionValidationResult |
build() |
ConnectionValidationResult.Builder |
copy(ConnectionValidationResult model) |
ConnectionValidationResult.Builder |
message(String message)
A message describing the result of connection validation in more detail.
|
ConnectionValidationResult.Builder |
result(ConnectionValidationResult.Result result)
The latest result of whether the credentials pass the validation.
|
ConnectionValidationResult.Builder |
timeValidated(Date timeValidated)
The latest timestamp when the connection was validated.
|
public ConnectionValidationResult.Builder result(ConnectionValidationResult.Result result)
The latest result of whether the credentials pass the validation.
result
- the value to setpublic ConnectionValidationResult.Builder timeValidated(Date timeValidated)
The latest timestamp when the connection was validated. Format defined by RFC3339.
timeValidated
- the value to setpublic ConnectionValidationResult.Builder message(String message)
A message describing the result of connection validation in more detail.
message
- the value to setpublic ConnectionValidationResult build()
public ConnectionValidationResult.Builder copy(ConnectionValidationResult model)
Copyright © 2016–2024. All rights reserved.