public class CreateServiceTemplateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateServiceTemplateRequest()  | 
CreateServiceTemplateRequest(CreateServiceTemplateRequest 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[] | 
getServices()
Get Supported ports inlcude single port, multiple ports, consecutive ports and all ports. 
 | 
ServicesInfo[] | 
getServicesExtra()
Get You can add remarks. 
 | 
String | 
getServiceTemplateName()
Get Template name of the protocol port 
 | 
void | 
setServices(String[] Services)
Set Supported ports inlcude single port, multiple ports, consecutive ports and all ports. 
 | 
void | 
setServicesExtra(ServicesInfo[] ServicesExtra)
Set You can add remarks. 
 | 
void | 
setServiceTemplateName(String ServiceTemplateName)
Set Template name of the protocol port 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateServiceTemplateRequest()
public CreateServiceTemplateRequest(CreateServiceTemplateRequest source)
public String getServiceTemplateName()
public void setServiceTemplateName(String ServiceTemplateName)
ServiceTemplateName - Template name of the protocol portpublic String[] getServices()
public void setServices(String[] Services)
Services - Supported ports inlcude single port, multiple ports, consecutive ports and all ports. Supported protocols include TCP, UDP, ICMP and GRE. Either Services or ServicesExtra is required.public ServicesInfo[] getServicesExtra()
public void setServicesExtra(ServicesInfo[] ServicesExtra)
ServicesExtra - You can add remarks. Supported ports include single port, multiple ports, consecutive ports and all ports. Supported protocols include TCP, UDP, ICMP and GRE. Either Services or ServicesExtra is required.Copyright © 2025. All rights reserved.