public class K8sService extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
K8sService()  | 
K8sService(K8sService 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 | 
getClusterId()
Get K8s cluster ID 
 | 
K8sLabel[] | 
getExtraLabels()
Get The additional Label of the Pod 
 | 
String | 
getName()
Get (Optional) Custom name of the service 
 | 
String | 
getNamespace()
Get Namespace of the container 
 | 
Long | 
getPort()
Get Service port 
 | 
String | 
getServiceName()
Get Name of the service 
 | 
Long | 
getWeight()
Get Weight 
 | 
void | 
setClusterId(String ClusterId)
Set K8s cluster ID 
 | 
void | 
setExtraLabels(K8sLabel[] ExtraLabels)
Set The additional Label of the Pod 
 | 
void | 
setName(String Name)
Set (Optional) Custom name of the service 
 | 
void | 
setNamespace(String Namespace)
Set Namespace of the container 
 | 
void | 
setPort(Long Port)
Set Service port 
 | 
void | 
setServiceName(String ServiceName)
Set Name of the service 
 | 
void | 
setWeight(Long Weight)
Set Weight 
 | 
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 K8sService()
public K8sService(K8sService source)
public Long getWeight()
public void setWeight(Long Weight)
Weight - Weightpublic String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - K8s cluster IDpublic String getNamespace()
public void setNamespace(String Namespace)
Namespace - Namespace of the containerpublic String getServiceName()
public void setServiceName(String ServiceName)
ServiceName - Name of the servicepublic Long getPort()
public void setPort(Long Port)
Port - Service portpublic K8sLabel[] getExtraLabels()
public void setExtraLabels(K8sLabel[] ExtraLabels)
ExtraLabels - The additional Label of the Podpublic String getName()
public void setName(String Name)
Name - (Optional) Custom name of the serviceCopyright © 2025. All rights reserved.