T
- The data builder type.K
- The data type.public final class IdRequiredDataBuilder<T extends GenericDataBuilder<T,K>,K> extends Object
ComponentData
interface.Modifier and Type | Method and Description |
---|---|
T |
withId(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's ID.
|
@NotNull public T withId(@NotNull @NotNull Supplier<String> supplier)
supplier
- The ID value supplier.ComponentData.getId()
,
AssetData.getId()
Copyright © 2021. All rights reserved.