Class MediaInputInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.MediaInputInfo
-
public class MediaInputInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MediaInputInfo()MediaInputInfo(MediaInputInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosInputInfogetCosInputInfo()Get 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。S3InputInfogetS3InputInfo()Get 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。 注意:此字段可能返回 null,表示取不到有效值。StringgetType()Get 输入来源对象的类型,支持: COS:COS源 URL:URL源 AWS-S3:AWS 源,目前只支持转码任务UrlInputInfogetUrlInputInfo()Get 当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。 注意:此字段可能返回 null,表示取不到有效值。voidsetCosInputInfo(CosInputInfo CosInputInfo)Set 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。voidsetS3InputInfo(S3InputInfo S3InputInfo)Set 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。 注意:此字段可能返回 null,表示取不到有效值。voidsetType(String Type)Set 输入来源对象的类型,支持: COS:COS源 URL:URL源 AWS-S3:AWS 源,目前只支持转码任务voidsetUrlInputInfo(UrlInputInfo UrlInputInfo)Set 当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
MediaInputInfo
public MediaInputInfo()
-
MediaInputInfo
public MediaInputInfo(MediaInputInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getType
public String getType()
Get 输入来源对象的类型,支持:- COS:COS源
- URL:URL源
- AWS-S3:AWS 源,目前只支持转码任务
- Returns:
- Type 输入来源对象的类型,支持:
- COS:COS源
- URL:URL源
- AWS-S3:AWS 源,目前只支持转码任务
-
setType
public void setType(String Type)
Set 输入来源对象的类型,支持:- COS:COS源
- URL:URL源
- AWS-S3:AWS 源,目前只支持转码任务
- Parameters:
Type- 输入来源对象的类型,支持:- COS:COS源
- URL:URL源
- AWS-S3:AWS 源,目前只支持转码任务
-
getCosInputInfo
public CosInputInfo getCosInputInfo()
Get 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。- Returns:
- CosInputInfo 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。
-
setCosInputInfo
public void setCosInputInfo(CosInputInfo CosInputInfo)
Set 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。- Parameters:
CosInputInfo- 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。
-
getUrlInputInfo
public UrlInputInfo getUrlInputInfo()
Get 当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UrlInputInfo 当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。 注意:此字段可能返回 null,表示取不到有效值。
-
setUrlInputInfo
public void setUrlInputInfo(UrlInputInfo UrlInputInfo)
Set 当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UrlInputInfo- 当 Type 为 URL 时有效,则该项为必填,表示媒体处理 URL 对象信息。 注意:此字段可能返回 null,表示取不到有效值。
-
getS3InputInfo
public S3InputInfo getS3InputInfo()
Get 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- S3InputInfo 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。 注意:此字段可能返回 null,表示取不到有效值。
-
setS3InputInfo
public void setS3InputInfo(S3InputInfo S3InputInfo)
Set 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
S3InputInfo- 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。 注意:此字段可能返回 null,表示取不到有效值。
-
-