Class TestNamedCredentialStatus.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.TestNamedCredentialStatus.Builder
-
- Enclosing class:
- TestNamedCredentialStatus
public static class TestNamedCredentialStatus.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
status
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’.
- Parameters:
status
- the value to set- Returns:
- this builder
-
errorCode
public 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.
- Parameters:
errorCode
- the value to set- Returns:
- this builder
-
errorMessage
public 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.
- Parameters:
errorMessage
- the value to set- Returns:
- this builder
-
build
public TestNamedCredentialStatus build()
-
copy
public TestNamedCredentialStatus.Builder copy(TestNamedCredentialStatus model)
-
-