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