public class MediaInputInfo extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
CosInputInfo |
getCosInputInfo()
Get The information of the COS object to process.
|
S3InputInfo |
getS3InputInfo()
Get The information of the AWS S3 object processed.
|
String |
getType()
Get The input type.
|
UrlInputInfo |
getUrlInputInfo()
Get The URL of the object to process.
|
void |
setCosInputInfo(CosInputInfo CosInputInfo)
Set The information of the COS object to process.
|
void |
setS3InputInfo(S3InputInfo S3InputInfo)
Set The information of the AWS S3 object processed.
|
void |
setType(String Type)
Set The input type.
|
void |
setUrlInputInfo(UrlInputInfo UrlInputInfo)
Set The URL of the object to process.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public MediaInputInfo()
public MediaInputInfo(MediaInputInfo source)
public String getType()
public void setType(String Type)
Type
- The input type. Valid values:
public CosInputInfo getCosInputInfo()
public void setCosInputInfo(CosInputInfo CosInputInfo)
CosInputInfo
- The information of the COS object to process. This parameter is valid and required when `Type` is `COS`.public UrlInputInfo getUrlInputInfo()
public void setUrlInputInfo(UrlInputInfo UrlInputInfo)
UrlInputInfo
- The URL of the object to process. This parameter is valid and required when `Type` is `URL`.
Note: This field may return null, indicating that no valid value can be obtained.public S3InputInfo getS3InputInfo()
public void setS3InputInfo(S3InputInfo S3InputInfo)
S3InputInfo
- The information of the AWS S3 object processed. This parameter is required if `Type` is `AWS-S3`.
Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.