public class MetadataItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
MetadataItem() |
MetadataItem(MetadataItem 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 |
getKey()
Get Custom metadata key.
|
String |
getValue()
Get Specifies a custom metadata value.
|
void |
setKey(String Key)
Set Custom metadata key.
|
void |
setValue(String Value)
Set Specifies a custom metadata value.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MetadataItem()
public MetadataItem(MetadataItem source)
public String getKey()
public void setKey(String Key)
Key
- Custom metadata key. it must comply with the regular expression ^[a-zA-Z0-9_-]+$. the length is less than or equal to 128 bytes (case-sensitive).public String getValue()
public void setValue(String Value)
Value
- Specifies a custom metadata value. it supports any data . The size is ≤ 256 KB. it is case-sensitive.Copyright © 2025. All rights reserved.