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.
  • Method Details

    • newBuilder

      public StatusDetails.Builder newBuilder()
      New builder.
      Returns:
      a StatusDetails builder
    • authenticated

      public Boolean authenticated()
      Gets the authenticated.

      Indicates whether the credential is accepted by the target data source.

      Returns:
      the authenticated
    • errorMessage

      public String errorMessage()
      Gets the errorMessage.

      If `authenticated` is `false`, a message describes why the authentication was unsuccessful.

      Returns:
      the errorMessage