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