/**
 * Copyright 2017 IBM Corp. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */
package com.ibm.watson.developer_cloud.natural_language_classifier.v1;

import com.ibm.watson.developer_cloud.natural_language_classifier.v1.model.Classification;

public class NaturalLanguageClassifierExample {

  public static void main(String[] args) {
    NaturalLanguageClassifier service = new NaturalLanguageClassifier();
    service.setUsernameAndPassword("<username>", "<password>");

    Classification classification = service.classify("<classifier-id>", "Is it sunny?").execute();

    System.out.println(classification);
  }

}

@@ -667,16 +667,108 @@
 er.v1;%0A%0A
+import com.ibm.watson.developer_cloud.natural_language_classifier.v1.model.ClassifyOptions;%0A
 import c
@@ -850,16 +850,16 @@
 cation;%0A
-
 %0Apublic 
@@ -1096,23 +1096,24 @@
 ssif
-ica
+yOp
 tion
+s
  classif
 icat
@@ -1112,33 +1112,65 @@
 ssif
-ica
+yOp
 tion
+s
  = 
-service
+new ClassifyOptions.Builder()%0A        
 .classif
 y(%22%3C
@@ -1165,17 +1165,21 @@
 .classif
-y
+ierId
 (%22%3Cclass
@@ -1187,29 +1187,130 @@
 fier
--id%3E%22, %22Is it sunny?%22
+Id%3E%22)%0A        .text(%22Is it sunny?%22)%0A        .build();%0A    Classification classification = service.classify(classifyOptions
 ).ex

Update NLC example