public static final class NoneDataSourceProps.Builder
extends java.lang.Object
NoneDataSourceProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NoneDataSourceProps.Builder |
api(IGraphqlApi api)
Sets the value of
BaseDataSourceProps.getApi() |
NoneDataSourceProps |
build()
Builds the configured instance.
|
NoneDataSourceProps.Builder |
description(java.lang.String description)
Sets the value of
BaseDataSourceProps.getDescription() |
NoneDataSourceProps.Builder |
name(java.lang.String name)
Sets the value of
BaseDataSourceProps.getName() |
public NoneDataSourceProps.Builder api(IGraphqlApi api)
BaseDataSourceProps.getApi()
api
- The API to attach this data source to. This parameter is required.this
public NoneDataSourceProps.Builder description(java.lang.String description)
BaseDataSourceProps.getDescription()
description
- the description of the data source.this
public NoneDataSourceProps.Builder name(java.lang.String name)
BaseDataSourceProps.getName()
name
- The name of the data source.this
public NoneDataSourceProps build()
NoneDataSourceProps
java.lang.NullPointerException
- if any required attribute was not provided