public final class AssetDataBuilder extends GenericDataBuilder<AssetDataBuilder,AssetData>
AssetData object.| Modifier and Type | Method and Description |
|---|---|
@NotNull AssetData |
build()
Build the data.
|
@NotNull AssetDataBuilder |
withFormat(@NotNull Supplier<String> supplier)
Sets the supplier that supplies the Asset's format.
|
@NotNull AssetDataBuilder |
withLastModifiedDate(@NotNull Supplier<Date> supplier)
Set the supplier that supplies the component's last modified date.
|
@NotNull AssetDataBuilder |
withTags(@NotNull Supplier<String[]> supplier)
Sets the supplier that supplies the Asset's tags.
|
@NotNull AssetDataBuilder |
withUrl(@NotNull Supplier<String> supplier)
Sets the supplier that supplies the URL.
|
withId@NotNull public @NotNull AssetDataBuilder withUrl(@NotNull @NotNull Supplier<String> supplier)
supplier - The URL value supplier.AssetDataBuilder.AssetData.getUrl()@NotNull public @NotNull AssetDataBuilder withFormat(@NotNull @NotNull Supplier<String> supplier)
supplier - The format value supplier.AssetDataBuilder.AssetData.getFormat()@NotNull public @NotNull AssetDataBuilder withTags(@NotNull @NotNull Supplier<String[]> supplier)
supplier - The tags value supplier.AssetDataBuilder.AssetData.getTags()@NotNull public @NotNull AssetDataBuilder withLastModifiedDate(@NotNull @NotNull Supplier<Date> supplier)
supplier - The last modified date value supplier.AssetDataBuilder.AssetData.getLastModifiedDate()@NotNull public @NotNull AssetData build()
GenericDataBuilderbuild in class GenericDataBuilder<AssetDataBuilder,AssetData>Copyright © 2020. All rights reserved.