public class EndpointAuthInfo extends AbstractModel
Constructor and Description |
---|
EndpointAuthInfo() |
EndpointAuthInfo(EndpointAuthInfo 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 |
getAuthKey()
Get The authentication key.
|
String[] |
getBlackIpList()
Get The security group blocklist in CIDR format.
|
String[] |
getWhiteIpList()
Get The security group allowlist in CIDR format.
|
void |
setAuthKey(String AuthKey)
Set The authentication key.
|
void |
setBlackIpList(String[] BlackIpList)
Set The security group blocklist in CIDR format.
|
void |
setWhiteIpList(String[] WhiteIpList)
Set The security group allowlist in CIDR format.
|
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 EndpointAuthInfo()
public EndpointAuthInfo(EndpointAuthInfo source)
public String[] getWhiteIpList()
public void setWhiteIpList(String[] WhiteIpList)
WhiteIpList
- The security group allowlist in CIDR format.
Note: this field may return null, indicating that no valid values can be obtained.public String[] getBlackIpList()
public void setBlackIpList(String[] BlackIpList)
BlackIpList
- The security group blocklist in CIDR format.
Note: this field may return null, indicating that no valid values can be obtained.public String getAuthKey()
public void setAuthKey(String AuthKey)
AuthKey
- The authentication key. Its value is same as `X-TENCENT-PACKAGE` set in the HTTP request header.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.