public static class CreateEventOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateEventOptions.Builder()
Instantiates a new builder.
|
CreateEventOptions.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 CreateEventOptions.Builder()
public CreateEventOptions.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