
com.aliyun.ice20201109.models.UploadStreamByURLRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class UploadStreamByURLRequest extends TeaModel {
/**
* The quality of the media stream. Valid values:
*
* - FD: low definition.
* - LD: standard definition.
* - SD: high definition.
* - HD: ultra-high definition.
* - OD: original quality.
* - 2K: 2K resolution.
* - 4K: 4K resolution.
* - SQ: standard sound quality.
* - HQ: high sound quality.
*
*
* example:
* HD
*/
@NameInMap("Definition")
public String definition;
/**
* The file name extension of the media stream.
*
* example:
* mp4
*/
@NameInMap("FileExtension")
public String fileExtension;
/**
* The high dynamic range (HDR) format of the transcoded stream. Valid values:
*
* - HDR
* - HDR10
* - HLG
* - DolbyVision
* - HDRVivid
* - SDR+
*
*
*
*
* The value is not case-sensitive,
*
* You can leave this parameter empty for non-HDR streams.
*
*
*
* example:
* HDR10
*/
@NameInMap("HDRType")
public String HDRType;
/**
* The ID of the media asset.
*
* example:
* 411bed50018971edb60b0764a0ec6***
*/
@NameInMap("MediaId")
public String mediaId;
/**
* The URL of the transcoded stream file.
* If the URL of the transcoded stream requires authentication, you must specify the authentication parameters in the stream URL and make sure that the URL can be accessed over the Internet.
*
* example:
* https://example.com/sample-stream.mp4
*/
@NameInMap("StreamURL")
public String streamURL;
/**
* The user data.
*
* example:
* {"MessageCallback":{"CallbackURL":"http://test.test.com"}, "Extend":{"localId":"xxx","test":"www"}}
*/
@NameInMap("UserData")
public String userData;
public static UploadStreamByURLRequest build(java.util.Map map) throws Exception {
UploadStreamByURLRequest self = new UploadStreamByURLRequest();
return TeaModel.build(map, self);
}
public UploadStreamByURLRequest setDefinition(String definition) {
this.definition = definition;
return this;
}
public String getDefinition() {
return this.definition;
}
public UploadStreamByURLRequest setFileExtension(String fileExtension) {
this.fileExtension = fileExtension;
return this;
}
public String getFileExtension() {
return this.fileExtension;
}
public UploadStreamByURLRequest setHDRType(String HDRType) {
this.HDRType = HDRType;
return this;
}
public String getHDRType() {
return this.HDRType;
}
public UploadStreamByURLRequest setMediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
public String getMediaId() {
return this.mediaId;
}
public UploadStreamByURLRequest setStreamURL(String streamURL) {
this.streamURL = streamURL;
return this;
}
public String getStreamURL() {
return this.streamURL;
}
public UploadStreamByURLRequest setUserData(String userData) {
this.userData = userData;
return this;
}
public String getUserData() {
return this.userData;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy