public static class CreateEventOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String type,
EventData data)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateEventOptions |
build()
Builds a CreateEventOptions.
|
CreateEventOptions.Builder |
data(EventData data)
Set the data.
|
CreateEventOptions.Builder |
type(java.lang.String type)
Set the type.
|
public Builder()
public Builder(java.lang.String type, EventData data)
type
- the typedata
- the datapublic CreateEventOptions build()
public CreateEventOptions.Builder type(java.lang.String type)
type
- the typepublic CreateEventOptions.Builder data(EventData data)
data
- the data