public class Annotation extends AbstractModel
header, skipSign
Constructor and Description |
---|
Annotation() |
Annotation(Annotation 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 |
getConfiguration()
Get 资源当前实际配置。长度为0~256位字符,即资源不合规配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getDesiredValue()
Get 资源期望配置。长度为0~256位字符,即资源合规配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getOperator()
Get 资源当前配置和期望配置之间的比较运算符。长度为0~16位字符,自定义规则上报评估结果此字段可能为空
|
String |
getProperty()
Get 当前配置在资源属性结构体中的JSON路径。长度为0~256位字符,自定义规则上报评估结果此字段可能为空
|
void |
setConfiguration(String Configuration)
Set 资源当前实际配置。长度为0~256位字符,即资源不合规配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDesiredValue(String DesiredValue)
Set 资源期望配置。长度为0~256位字符,即资源合规配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setOperator(String Operator)
Set 资源当前配置和期望配置之间的比较运算符。长度为0~16位字符,自定义规则上报评估结果此字段可能为空
|
void |
setProperty(String Property)
Set 当前配置在资源属性结构体中的JSON路径。长度为0~256位字符,自定义规则上报评估结果此字段可能为空
|
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, toJsonString
public Annotation()
public Annotation(Annotation source)
public String getConfiguration()
public void setConfiguration(String Configuration)
Configuration
- 资源当前实际配置。长度为0~256位字符,即资源不合规配置
注意:此字段可能返回 null,表示取不到有效值。public String getDesiredValue()
public void setDesiredValue(String DesiredValue)
DesiredValue
- 资源期望配置。长度为0~256位字符,即资源合规配置
注意:此字段可能返回 null,表示取不到有效值。public String getOperator()
public void setOperator(String Operator)
Operator
- 资源当前配置和期望配置之间的比较运算符。长度为0~16位字符,自定义规则上报评估结果此字段可能为空public String getProperty()
public void setProperty(String Property)
Property
- 当前配置在资源属性结构体中的JSON路径。长度为0~256位字符,自定义规则上报评估结果此字段可能为空Copyright © 2025. All rights reserved.