public class UrlSignatureAuthPolicy extends AbstractModel
Constructor and Description |
---|
UrlSignatureAuthPolicy() |
UrlSignatureAuthPolicy(UrlSignatureAuthPolicy 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 |
getEncryptedKey()
Get The key for generating the signature of [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986).
|
String |
getStatus()
Get Whether to enable or disable [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986).
|
void |
setEncryptedKey(String EncryptedKey)
Set The key for generating the signature of [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986).
|
void |
setStatus(String Status)
Set Whether to enable or disable [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986).
|
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 UrlSignatureAuthPolicy()
public UrlSignatureAuthPolicy(UrlSignatureAuthPolicy source)
public String getStatus()
public void setStatus(String Status)
Status
- Whether to enable or disable [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986). Valid values:
public String getEncryptedKey()
public void setEncryptedKey(String EncryptedKey)
EncryptedKey
- The key for generating the signature of [key hotlink protection](https://intl.cloud.tencent.com/document/product/266/33986).
`EncryptedKey` can contain 8-40 bytes, and cannot contain non-printable characters.Copyright © 2023. All rights reserved.