Class GetCredentialsOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String environmentId, String credentialId)
      Instantiates a new builder with required properties.
      Parameters:
      environmentId - the environmentId
      credentialId - the credentialId
  • Method Details

    • build

      public GetCredentialsOptions build()
      Builds a GetCredentialsOptions.
      Returns:
      the new GetCredentialsOptions instance
    • environmentId

      public GetCredentialsOptions.Builder environmentId​(String environmentId)
      Set the environmentId.
      Parameters:
      environmentId - the environmentId
      Returns:
      the GetCredentialsOptions builder
    • credentialId

      public GetCredentialsOptions.Builder credentialId​(String credentialId)
      Set the credentialId.
      Parameters:
      credentialId - the credentialId
      Returns:
      the GetCredentialsOptions builder