public class PredictInput extends AbstractModel
Constructor and Description |
---|
PredictInput() |
PredictInput(PredictInput 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 |
---|---|
Long |
getBatchSize()
Get 预测批大小,默认为 64
|
String |
getInputDataFormat()
Get 输入数据格式,目前支持:JSON
|
String |
getInputPath()
Get 输入路径,支持 cos 格式路径文件夹或文件
|
String |
getOutputDataFormat()
Get 输出数据格式,目前支持:JSON
|
String |
getOutputPath()
Get 输出路径,支持 cos 格式路径
|
String |
getSignatureName()
Get 模型签名
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setBatchSize(Long BatchSize)
Set 预测批大小,默认为 64
|
void |
setInputDataFormat(String InputDataFormat)
Set 输入数据格式,目前支持:JSON
|
void |
setInputPath(String InputPath)
Set 输入路径,支持 cos 格式路径文件夹或文件
|
void |
setOutputDataFormat(String OutputDataFormat)
Set 输出数据格式,目前支持:JSON
|
void |
setOutputPath(String OutputPath)
Set 输出路径,支持 cos 格式路径
|
void |
setSignatureName(String SignatureName)
Set 模型签名
注意:此字段可能返回 null,表示取不到有效值。
|
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 PredictInput()
public PredictInput(PredictInput source)
public String getInputPath()
public void setInputPath(String InputPath)
InputPath
- 输入路径,支持 cos 格式路径文件夹或文件public String getOutputPath()
public void setOutputPath(String OutputPath)
OutputPath
- 输出路径,支持 cos 格式路径public String getInputDataFormat()
public void setInputDataFormat(String InputDataFormat)
InputDataFormat
- 输入数据格式,目前支持:JSONpublic String getOutputDataFormat()
public void setOutputDataFormat(String OutputDataFormat)
OutputDataFormat
- 输出数据格式,目前支持:JSONpublic Long getBatchSize()
public void setBatchSize(Long BatchSize)
BatchSize
- 预测批大小,默认为 64public String getSignatureName()
public void setSignatureName(String SignatureName)
SignatureName
- 模型签名
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.