public final class ImageComponentDataBuilder extends GenericDataBuilder<T,K>
| Modifier and Type | Method and Description |
|---|---|
@NotNull ImageData |
build()
Build the data.
|
@NotNull ImageComponentDataBuilder |
withAssetData(@NotNull Supplier<AssetData> supplier)
Set the supplier that supplies the component's asset data.
|
T |
withDescription(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's description.
|
T |
withLastModifiedDate(@NotNull Supplier<Date> supplier)
Set the supplier that supplies the component's last modified date.
|
T |
withLinkUrl(@NotNull Supplier<String> supplier)
Sets the supplier that supplies the component's link URL.
|
T |
withParentId(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's parent ID.
|
T |
withText(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's text.
|
T |
withTitle(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's title.
|
T |
withType(@NotNull Supplier<String> supplier)
Set the supplier that supplies the component's type.
|
withId@NotNull public @NotNull ImageComponentDataBuilder withAssetData(@NotNull @NotNull Supplier<AssetData> supplier)
supplier - The asset data value supplier.ImageComponentDataBuilder.@NotNull public @NotNull ImageData build()
GenericDataBuilderbuild in class GenericDataBuilder<ImageComponentDataBuilder,ImageData>@NotNull
public T withType(@NotNull
@NotNull Supplier<String> supplier)
supplier - The type value supplier.ComponentData.getType()@NotNull
public T withLastModifiedDate(@NotNull
@NotNull Supplier<Date> supplier)
supplier - The last modified date value supplier.ComponentData.getLastModifiedDate()@NotNull
public T withParentId(@NotNull
@NotNull Supplier<String> supplier)
supplier - The parent ID value supplier.ComponentData.getParentId()@NotNull
public T withTitle(@NotNull
@NotNull Supplier<String> supplier)
supplier - The title value supplier.ComponentData.getTitle()@NotNull
public T withDescription(@NotNull
@NotNull Supplier<String> supplier)
supplier - The description value supplier.ComponentData.getDescription()@NotNull
public T withText(@NotNull
@NotNull Supplier<String> supplier)
supplier - The text value supplier.ComponentData.getText()@NotNull
public T withLinkUrl(@NotNull
@NotNull Supplier<String> supplier)
supplier - The link URL value supplier.ComponentData.getLinkUrl()Copyright © 2020. All rights reserved.