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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateEventOptions.Builder
Builder.static interface
CreateEventOptions.Type
The event type to be created. -
Method Summary
Modifier and Type Method Description EventData
data()
Gets the data.CreateEventOptions.Builder
newBuilder()
New builder.String
type()
Gets the type.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateEventOptions builder
-
type
Gets the type.The event type to be created.
- Returns:
- the type
-
data
Gets the data.Query event data object.
- Returns:
- the data
-