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 自定义metadata键,由大写字母(A-Z)、小写字母(a-z)、数字(0-9)、下划线(_)或连字符(-)组成,大小上限为128 字节。
|
String |
getValue()
Get 自定义metadata值,大小上限为256 KB。
|
void |
setKey(String Key)
Set 自定义metadata键,由大写字母(A-Z)、小写字母(a-z)、数字(0-9)、下划线(_)或连字符(-)组成,大小上限为128 字节。
|
void |
setValue(String Value)
Set 自定义metadata值,大小上限为256 KB。
|
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 MetadataItem()
public MetadataItem(MetadataItem source)
public String getKey()
public void setKey(String Key)
Key
- 自定义metadata键,由大写字母(A-Z)、小写字母(a-z)、数字(0-9)、下划线(_)或连字符(-)组成,大小上限为128 字节。public String getValue()
public void setValue(String Value)
Value
- 自定义metadata值,大小上限为256 KB。Copyright © 2025. All rights reserved.