Class CreateEventOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.CreateEventOptions.Builder
- Enclosing class:
- CreateEventOptions
public static class CreateEventOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CreateEventOptions
build()
Builds a CreateEventOptions.CreateEventOptions.Builder
data(EventData data)
Set the data.CreateEventOptions.Builder
type(String type)
Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
type
- the typedata
- the data
-
-
Method Details
-
build
Builds a CreateEventOptions.- Returns:
- the new CreateEventOptions instance
-
type
Set the type.- Parameters:
type
- the type- Returns:
- the CreateEventOptions builder
-
data
Set the data.- Parameters:
data
- the data- Returns:
- the CreateEventOptions builder
-