public class CreateFunctionRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateFunctionRequest() |
CreateFunctionRequest(CreateFunctionRequest 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 |
---|---|
String |
getContent()
Get Function content, which currently only supports JavaScript code.
|
String |
getName()
Get Function name, which can contain up to 30 characters, including lowercase letters, digits, and hyphens.
|
String |
getRemark()
Get Function description, which can contain up to 60 characters.
|
String |
getZoneId()
Get Zone ID.
|
void |
setContent(String Content)
Set Function content, which currently only supports JavaScript code.
|
void |
setName(String Name)
Set Function name, which can contain up to 30 characters, including lowercase letters, digits, and hyphens.
|
void |
setRemark(String Remark)
Set Function description, which can contain up to 60 characters.
|
void |
setZoneId(String ZoneId)
Set Zone ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateFunctionRequest()
public CreateFunctionRequest(CreateFunctionRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Zone ID.public String getName()
public void setName(String Name)
Name
- Function name, which can contain up to 30 characters, including lowercase letters, digits, and hyphens. It should start and end with a digit or a letter.public String getContent()
public void setContent(String Content)
Content
- Function content, which currently only supports JavaScript code. Its maximum size is 5 MB.public String getRemark()
public void setRemark(String Remark)
Remark
- Function description, which can contain up to 60 characters.Copyright © 2024. All rights reserved.