public static final class AddWatermarkRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
AddWatermarkRequest.Builder |
appId(String appId)
The ID of the application.
|
AddWatermarkRequest |
build() |
AddWatermarkRequest.Builder |
fileUrl(String fileUrl)
The Object Storage Service (OSS) URL of the watermark file.
|
AddWatermarkRequest.Builder |
name(String name)
The name of the watermark.
|
AddWatermarkRequest.Builder |
type(String type)
The type of the watermark.
|
AddWatermarkRequest.Builder |
watermarkConfig(String watermarkConfig)
The configurations such as the position and effect of the text watermark or image watermark.
|
public AddWatermarkRequest.Builder appId(String appId)
public AddWatermarkRequest.Builder fileUrl(String fileUrl)
public AddWatermarkRequest.Builder name(String name)
* The name can be up to 128 bytes in length. * The value must be encoded in UTF-8.
public AddWatermarkRequest.Builder type(String type)
* **Image** (default) * **Text**
public AddWatermarkRequest.Builder watermarkConfig(String watermarkConfig)
> The value of this parameter varies based on the watermark type. For more information about the data structure, see [WatermarkConfig](~~98618~~).
public AddWatermarkRequest build()
Copyright © 2024. All rights reserved.