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 CreateEventOptionsbuild()Builds a CreateEventOptions.CreateEventOptions.Builderdata(EventData data)Set the data.CreateEventOptions.Buildertype(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
-