Class ServiceDiscoveryItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.ServiceDiscoveryItem
-
public class ServiceDiscoveryItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ServiceDiscoveryItem()ServiceDiscoveryItem(ServiceDiscoveryItem 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEndpoints()Get Endpoints 信息(PodMonitor 不含该参数)StringgetKind()Get 服务发现类型: ServiceMonitor/PodMonitorStringgetName()Get 服务发现名称StringgetNamespace()Get 服务发现属于的 NamespaceStringgetNamespaceSelector()Get Namespace 选取方式 注意:此字段可能返回 null,表示取不到有效值。StringgetSelector()Get Label 选取方式 注意:此字段可能返回 null,表示取不到有效值。StringgetYaml()Get 服务发现对应的配置信息 注意:此字段可能返回 null,表示取不到有效值。voidsetEndpoints(String Endpoints)Set Endpoints 信息(PodMonitor 不含该参数)voidsetKind(String Kind)Set 服务发现类型: ServiceMonitor/PodMonitorvoidsetName(String Name)Set 服务发现名称voidsetNamespace(String Namespace)Set 服务发现属于的 NamespacevoidsetNamespaceSelector(String NamespaceSelector)Set Namespace 选取方式 注意:此字段可能返回 null,表示取不到有效值。voidsetSelector(String Selector)Set Label 选取方式 注意:此字段可能返回 null,表示取不到有效值。voidsetYaml(String Yaml)Set 服务发现对应的配置信息 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ServiceDiscoveryItem
public ServiceDiscoveryItem()
-
ServiceDiscoveryItem
public ServiceDiscoveryItem(ServiceDiscoveryItem 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.
-
-
Method Detail
-
getName
public String getName()
Get 服务发现名称- Returns:
- Name 服务发现名称
-
setName
public void setName(String Name)
Set 服务发现名称- Parameters:
Name- 服务发现名称
-
getNamespace
public String getNamespace()
Get 服务发现属于的 Namespace- Returns:
- Namespace 服务发现属于的 Namespace
-
setNamespace
public void setNamespace(String Namespace)
Set 服务发现属于的 Namespace- Parameters:
Namespace- 服务发现属于的 Namespace
-
getKind
public String getKind()
Get 服务发现类型: ServiceMonitor/PodMonitor- Returns:
- Kind 服务发现类型: ServiceMonitor/PodMonitor
-
setKind
public void setKind(String Kind)
Set 服务发现类型: ServiceMonitor/PodMonitor- Parameters:
Kind- 服务发现类型: ServiceMonitor/PodMonitor
-
getNamespaceSelector
public String getNamespaceSelector()
Get Namespace 选取方式 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NamespaceSelector Namespace 选取方式 注意:此字段可能返回 null,表示取不到有效值。
-
setNamespaceSelector
public void setNamespaceSelector(String NamespaceSelector)
Set Namespace 选取方式 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NamespaceSelector- Namespace 选取方式 注意:此字段可能返回 null,表示取不到有效值。
-
getSelector
public String getSelector()
Get Label 选取方式 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Selector Label 选取方式 注意:此字段可能返回 null,表示取不到有效值。
-
setSelector
public void setSelector(String Selector)
Set Label 选取方式 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Selector- Label 选取方式 注意:此字段可能返回 null,表示取不到有效值。
-
getEndpoints
public String getEndpoints()
Get Endpoints 信息(PodMonitor 不含该参数)- Returns:
- Endpoints Endpoints 信息(PodMonitor 不含该参数)
-
setEndpoints
public void setEndpoints(String Endpoints)
Set Endpoints 信息(PodMonitor 不含该参数)- Parameters:
Endpoints- Endpoints 信息(PodMonitor 不含该参数)
-
getYaml
public String getYaml()
Get 服务发现对应的配置信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Yaml 服务发现对应的配置信息 注意:此字段可能返回 null,表示取不到有效值。
-
setYaml
public void setYaml(String Yaml)
Set 服务发现对应的配置信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Yaml- 服务发现对应的配置信息 注意:此字段可能返回 null,表示取不到有效值。
-
-