public static class TestPreferredCredentialStatus.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TestPreferredCredentialStatus |
build() |
TestPreferredCredentialStatus.Builder |
copy(TestPreferredCredentialStatus model) |
TestPreferredCredentialStatus.Builder |
errorCode(String errorCode)
An error code that defines the failure of the preferred credential test.
|
TestPreferredCredentialStatus.Builder |
errorMessage(String errorMessage)
The error message that indicates the reason for the failure of the preferred credential
test.
|
TestPreferredCredentialStatus.Builder |
status(TestPreferredCredentialStatus.Status status)
The status of the preferred credential test.
|
public TestPreferredCredentialStatus.Builder status(TestPreferredCredentialStatus.Status status)
The status of the preferred credential test. The status is ‘SUCCEEDED’ if the preferred credential is working else the status is ‘FAILED’.
status
- the value to setpublic TestPreferredCredentialStatus.Builder errorCode(String errorCode)
An error code that defines the failure of the preferred credential test. The response is ‘null’ if the preferred credential test was successful.
errorCode
- the value to setpublic TestPreferredCredentialStatus.Builder errorMessage(String errorMessage)
The error message that indicates the reason for the failure of the preferred credential test. The response is ‘null’ if the preferred credential test was successful.
errorMessage
- the value to setpublic TestPreferredCredentialStatus build()
public TestPreferredCredentialStatus.Builder copy(TestPreferredCredentialStatus model)
Copyright © 2016–2024. All rights reserved.