public static class Parameters.Builder<T extends Parameters.Builder<T>> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
attributes(List<Attribute<?>> attributes)
Set attributes for the newly created entity.
|
Parameters |
build() |
T |
identifier(Identifier identifier)
Set the identifier for the newly created entity.
|
T |
name(String name)
Set the name for the newly created entity.
|
protected T |
self() |
public T identifier(Identifier identifier)
identifier
- the identifier for the newly created entitypublic T attributes(List<Attribute<?>> attributes)
attributes
- list of attributes for the newly created entitypublic T name(String name)
name
- the name for the newly created entityprotected T self()
public Parameters build()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.