Class CreateCosSecKeyInstanceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ms.v20180408.models.CreateCosSecKeyInstanceRequest
-
public class CreateCosSecKeyInstanceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCosRegion()Get 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。LonggetDuration()Get 密钥有效时间,默认为1小时。voidsetCosRegion(String CosRegion)Set 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。voidsetDuration(Long Duration)Set 密钥有效时间,默认为1小时。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateCosSecKeyInstanceRequest
public CreateCosSecKeyInstanceRequest()
-
CreateCosSecKeyInstanceRequest
public 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.
-
-
Method Detail
-
getCosRegion
public String getCosRegion()
Get 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。- Returns:
- CosRegion 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。
-
setCosRegion
public void setCosRegion(String CosRegion)
Set 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。- Parameters:
CosRegion- 地域信息,例如广州:ap-guangzhou,上海:ap-shanghai,默认为广州。
-
getDuration
public Long getDuration()
Get 密钥有效时间,默认为1小时。- Returns:
- Duration 密钥有效时间,默认为1小时。
-
setDuration
public void setDuration(Long Duration)
Set 密钥有效时间,默认为1小时。- Parameters:
Duration- 密钥有效时间,默认为1小时。
-
-