Class Credentials.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.Credentials.Builder
Enclosing class:
Credentials

public static class Credentials.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public Credentials build()
      Builds a Credentials.
      Returns:
      the new Credentials instance
    • sourceType

      public Credentials.Builder sourceType​(String sourceType)
      Set the sourceType.
      Parameters:
      sourceType - the sourceType
      Returns:
      the Credentials builder
    • credentialDetails

      public Credentials.Builder credentialDetails​(CredentialDetails credentialDetails)
      Set the credentialDetails.
      Parameters:
      credentialDetails - the credentialDetails
      Returns:
      the Credentials builder
    • status

      public Credentials.Builder status​(StatusDetails status)
      Set the status.
      Parameters:
      status - the status
      Returns:
      the Credentials builder