public static class CreateEventOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(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(String type)
Set the type.
|
public CreateEventOptions build()
public CreateEventOptions.Builder type(String type)
type
- the typepublic CreateEventOptions.Builder data(EventData data)
data
- the dataCopyright © 2022 IBM Cloud. All rights reserved.