public static final class UpdateWatermarkResponseBody.WatermarkInfo.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
UpdateWatermarkResponseBody.WatermarkInfo |
build() |
UpdateWatermarkResponseBody.WatermarkInfo.Builder |
creationTime(String creationTime)
The time when the watermark was added.
|
UpdateWatermarkResponseBody.WatermarkInfo.Builder |
fileUrl(String fileUrl)
The Object Storage Service (OSS) URL or Content Delivery Network (CDN) URL of the watermark file.
|
UpdateWatermarkResponseBody.WatermarkInfo.Builder |
isDefault(String isDefault)
Indicates whether the watermark is the default one.
|
UpdateWatermarkResponseBody.WatermarkInfo.Builder |
name(String name)
The name of the watermark.
|
UpdateWatermarkResponseBody.WatermarkInfo.Builder |
type(String type)
The type of the watermark.
|
UpdateWatermarkResponseBody.WatermarkInfo.Builder |
watermarkConfig(String watermarkConfig)
The configurations such as the position and effect of the text watermark or image watermark.
|
UpdateWatermarkResponseBody.WatermarkInfo.Builder |
watermarkId(String watermarkId)
The ID of the watermark.
|
public UpdateWatermarkResponseBody.WatermarkInfo.Builder creationTime(String creationTime)
public UpdateWatermarkResponseBody.WatermarkInfo.Builder fileUrl(String fileUrl)
public UpdateWatermarkResponseBody.WatermarkInfo.Builder isDefault(String isDefault)
* **Default**: The watermark is the default one. * **NotDefault**: The watermark is not the default one.
public UpdateWatermarkResponseBody.WatermarkInfo.Builder name(String name)
public UpdateWatermarkResponseBody.WatermarkInfo.Builder type(String type)
* **Image**: This is the default value. * **Text**
public UpdateWatermarkResponseBody.WatermarkInfo.Builder watermarkConfig(String watermarkConfig)
> The value of this parameter varies with the watermark type. For more information about the data structure, see the "WatermarkConfig" section of the [Media processing parameters](~~98618~~) topic.
public UpdateWatermarkResponseBody.WatermarkInfo.Builder watermarkId(String watermarkId)
public UpdateWatermarkResponseBody.WatermarkInfo build()
Copyright © 2024. All rights reserved.