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.
|
String |
getName()
Get Instance name
|
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 |
setName(String Name)
Set Instance name
|
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.Copyright © 2023. All rights reserved.