public class CopyFunctionRequest extends AbstractModel
| Constructor and Description | 
|---|
| CopyFunctionRequest() | 
| CopyFunctionRequest(CopyFunctionRequest 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 | 
|---|---|
| Boolean | getCopyConfiguration()Get It specifies whether to replicate the function attributes, including environment variables, memory, timeout, function description, labels, and VPC. | 
| String | getDescription()Get Description of the new function | 
| String | getFunctionName()Get Name of the function to be replicated | 
| String | getNamespace()Get Namespace of the function to be replicated. | 
| String | getNewFunctionName()Get Name of the new function | 
| Boolean | getOverride()Get It specifies whether to replace the function with the same name in the target namespace. | 
| String | getTargetNamespace()Get Namespace of the replicated function. | 
| String | getTargetRegion()Get Region of the target of the function replication. | 
| void | setCopyConfiguration(Boolean CopyConfiguration)Set It specifies whether to replicate the function attributes, including environment variables, memory, timeout, function description, labels, and VPC. | 
| void | setDescription(String Description)Set Description of the new function | 
| void | setFunctionName(String FunctionName)Set Name of the function to be replicated | 
| void | setNamespace(String Namespace)Set Namespace of the function to be replicated. | 
| void | setNewFunctionName(String NewFunctionName)Set Name of the new function | 
| void | setOverride(Boolean Override)Set It specifies whether to replace the function with the same name in the target namespace. | 
| void | setTargetNamespace(String TargetNamespace)Set Namespace of the replicated function. | 
| void | setTargetRegion(String TargetRegion)Set Region of the target of the function replication. | 
| 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, toJsonStringpublic CopyFunctionRequest()
public CopyFunctionRequest(CopyFunctionRequest source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName - Name of the function to be replicatedpublic String getNewFunctionName()
public void setNewFunctionName(String NewFunctionName)
NewFunctionName - Name of the new functionpublic String getNamespace()
public void setNamespace(String Namespace)
Namespace - Namespace of the function to be replicated. The default value is `default`.public String getTargetNamespace()
public void setTargetNamespace(String TargetNamespace)
TargetNamespace - Namespace of the replicated function. The default value is default.public String getDescription()
public void setDescription(String Description)
Description - Description of the new functionpublic String getTargetRegion()
public void setTargetRegion(String TargetRegion)
TargetRegion - Region of the target of the function replication. If the value is not set, the current region is used by default.public Boolean getOverride()
public void setOverride(Boolean Override)
Override - It specifies whether to replace the function with the same name in the target namespace. The default option is `FALSE`.
(Note: The `TRUE` option results in deletion of the function in the target namespace. Please operate with caution.)
TRUE: Replaces the function.
FALSE: Does not replace the function.public Boolean getCopyConfiguration()
public void setCopyConfiguration(Boolean CopyConfiguration)
CopyConfiguration - It specifies whether to replicate the function attributes, including environment variables, memory, timeout, function description, labels, and VPC. The default value is `TRUE`.
TRUE: Replicates the function configuration.
FALSE: Does not replicate the function configuration.Copyright © 2022. All rights reserved.