Class DeleteCredentialsOptions.Builder

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

public static class DeleteCredentialsOptions.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 DeleteCredentialsOptions build()
      Builds a DeleteCredentialsOptions.
      Returns:
      the new DeleteCredentialsOptions instance
    • environmentId

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

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