public class CreateCosSecKeyInstanceRequest extends AbstractModel
Constructor and Description |
---|
CreateCosSecKeyInstanceRequest() |
CreateCosSecKeyInstanceRequest(CreateCosSecKeyInstanceRequest 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 |
getCosRegion()
Get 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。
|
Long |
getDuration()
Get 密钥有效时间,默认为1小时。
|
void |
setCosRegion(String CosRegion)
Set 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。
|
void |
setDuration(Long Duration)
Set 密钥有效时间,默认为1小时。
|
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 CreateCosSecKeyInstanceRequest()
public CreateCosSecKeyInstanceRequest(CreateCosSecKeyInstanceRequest source)
public String getCosRegion()
public void setCosRegion(String CosRegion)
CosRegion
- 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。public Long getDuration()
public void setDuration(Long Duration)
Duration
- 密钥有效时间,默认为1小时。Copyright © 2022. All rights reserved.