public class ServiceDiscoveryItem extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getEndpoints()
Get `Endpoints` information (PodMonitor does not have this parameter)
|
String |
getKind()
Get Scrape configuration type: ServiceMonitor/PodMonitor
|
String |
getName()
Get Scrape configuration name
|
String |
getNamespace()
Get Namespace of the scrape configuration
|
String |
getNamespaceSelector()
Get Namespace selection method
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSelector()
Get Label selection method
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getYaml()
Get Scrape configuration information
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setEndpoints(String Endpoints)
Set `Endpoints` information (PodMonitor does not have this parameter)
|
void |
setKind(String Kind)
Set Scrape configuration type: ServiceMonitor/PodMonitor
|
void |
setName(String Name)
Set Scrape configuration name
|
void |
setNamespace(String Namespace)
Set Namespace of the scrape configuration
|
void |
setNamespaceSelector(String NamespaceSelector)
Set Namespace selection method
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSelector(String Selector)
Set Label selection method
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setYaml(String Yaml)
Set Scrape configuration information
Note: This field may return null, indicating that no valid values can be obtained.
|
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, toJsonString
public ServiceDiscoveryItem()
public ServiceDiscoveryItem(ServiceDiscoveryItem source)
public String getName()
public void setName(String Name)
Name
- Scrape configuration namepublic String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespace of the scrape configurationpublic String getKind()
public void setKind(String Kind)
Kind
- Scrape configuration type: ServiceMonitor/PodMonitorpublic String getNamespaceSelector()
public void setNamespaceSelector(String NamespaceSelector)
NamespaceSelector
- Namespace selection method
Note: This field may return null, indicating that no valid values can be obtained.public String getSelector()
public void setSelector(String Selector)
Selector
- Label selection method
Note: This field may return null, indicating that no valid values can be obtained.public String getEndpoints()
public void setEndpoints(String Endpoints)
Endpoints
- `Endpoints` information (PodMonitor does not have this parameter)public String getYaml()
public void setYaml(String Yaml)
Yaml
- Scrape configuration information
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.