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