public final class AssetSourceBuilder extends Base implements Builder<AssetSource>
Modifier and Type | Method and Description |
---|---|
AssetSource |
build()
Creates a new instance of T with the values of this builder.
|
AssetSourceBuilder |
contentType(String contentType) |
AssetSourceBuilder |
dimensions(AssetDimensions dimensions) |
AssetSourceBuilder |
dimensionsOfWidthAndHeight(Integer width,
Integer height) |
AssetSourceBuilder |
key(String key) |
static AssetSourceBuilder |
ofUri(String uri) |
public static AssetSourceBuilder ofUri(String uri)
public AssetSourceBuilder key(@Nullable String key)
public AssetSourceBuilder dimensions(@Nullable AssetDimensions dimensions)
public AssetSourceBuilder dimensionsOfWidthAndHeight(Integer width, Integer height)
public AssetSourceBuilder contentType(@Nullable String contentType)
public AssetSource build()
Builder
build
in interface Builder<AssetSource>