Class CreateEventOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.CreateEventOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateEventOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createEvent options.
  • Method Details

    • newBuilder

      public CreateEventOptions.Builder newBuilder()
      New builder.
      Returns:
      a CreateEventOptions builder
    • type

      public String type()
      Gets the type.

      The event type to be created.

      Returns:
      the type
    • data

      public EventData data()
      Gets the data.

      Query event data object.

      Returns:
      the data