Class TestNamedCredentialStatus.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.TestNamedCredentialStatus.Builder
 
- 
- Enclosing class:
- TestNamedCredentialStatus
 
 public static class TestNamedCredentialStatus.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TestNamedCredentialStatusbuild()TestNamedCredentialStatus.Buildercopy(TestNamedCredentialStatus model)TestNamedCredentialStatus.BuildererrorCode(String errorCode)An error code that defines the failure of the named credential test.TestNamedCredentialStatus.BuildererrorMessage(String errorMessage)The error message that indicates the reason for the failure of the named credential test.TestNamedCredentialStatus.Builderstatus(TestNamedCredentialStatus.Status status)The status of the named credential test.
 
- 
- 
- 
Method Detail- 
statuspublic 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
 
 - 
errorCodepublic 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
 
 - 
errorMessagepublic 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
 
 - 
buildpublic TestNamedCredentialStatus build() 
 - 
copypublic TestNamedCredentialStatus.Builder copy(TestNamedCredentialStatus model) 
 
- 
 
-