Class StatusDetails
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.StatusDetails
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class StatusDetails
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object that contains details about the status of the authentication process.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StatusDetails.Builder
Builder. -
Method Summary
Modifier and Type Method Description Boolean
authenticated()
Gets the authenticated.String
errorMessage()
Gets the errorMessage.StatusDetails.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a StatusDetails builder
-
authenticated
Gets the authenticated.Indicates whether the credential is accepted by the target data source.
- Returns:
- the authenticated
-
errorMessage
Gets the errorMessage.If `authenticated` is `false`, a message describes why the authentication was unsuccessful.
- Returns:
- the errorMessage
-