public class PrometheusRecordRuleYamlItem extends AbstractModel
Constructor and Description |
---|
PrometheusRecordRuleYamlItem() |
PrometheusRecordRuleYamlItem(PrometheusRecordRuleYamlItem 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 If the recording rule comes from the user cluster CRD resource definition, `ClusterId` is the cluster ID.
|
String |
getContent()
Get If the recording rule comes from a template, `TemplateId` is the template ID.
|
Long |
getCount()
Get Number of rules
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getId()
Get id
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getName()
Get Instance name
|
Long |
getStatus()
Get Status
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTemplateId()
Get YAML content
|
String |
getUpdateTime()
Get Last update time
|
void |
setClusterId(String ClusterId)
Set If the recording rule comes from the user cluster CRD resource definition, `ClusterId` is the cluster ID.
|
void |
setContent(String Content)
Set If the recording rule comes from a template, `TemplateId` is the template ID.
|
void |
setCount(Long Count)
Set Number of rules
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setId(String Id)
Set id
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Instance name
|
void |
setStatus(Long Status)
Set Status
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTemplateId(String TemplateId)
Set YAML content
|
void |
setUpdateTime(String UpdateTime)
Set Last update time
|
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 PrometheusRecordRuleYamlItem()
public PrometheusRecordRuleYamlItem(PrometheusRecordRuleYamlItem source)
public String getName()
public void setName(String Name)
Name
- Instance namepublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Last update timepublic String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- YAML contentpublic String getContent()
public void setContent(String Content)
Content
- If the recording rule comes from a template, `TemplateId` is the template ID.
Note: This field may return null, indicating that no valid values can be obtained.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- If the recording rule comes from the user cluster CRD resource definition, `ClusterId` is the cluster ID.
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- Status
Note: This field may return null, indicating that no valid values can be obtained.public String getId()
public void setId(String Id)
Id
- id
Note: This field may return null, indicating that no valid values can be obtained.public Long getCount()
public void setCount(Long Count)
Count
- Number of rules
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.