public class HwPrivateAccess extends AbstractModel
header, skipSign
Constructor and Description |
---|
HwPrivateAccess() |
HwPrivateAccess(HwPrivateAccess 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 |
getAccessKey()
Get Access ID
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getBucket()
Get BucketName
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getSecretKey()
Get Key
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getSwitch()
Get Whether to enable origin-pull authentication for Huawei Cloud OBS origin.
|
void |
setAccessKey(String AccessKey)
Set Access ID
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setBucket(String Bucket)
Set BucketName
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSecretKey(String SecretKey)
Set Key
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSwitch(String Switch)
Set Whether to enable origin-pull authentication for Huawei Cloud OBS origin.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public HwPrivateAccess()
public HwPrivateAccess(HwPrivateAccess source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable origin-pull authentication for Huawei Cloud OBS origin. Values:
`on`: Enable
`off`: Disablepublic String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey
- Access ID
Note: This field may return `null`, indicating that no valid value can be obtained.public String getSecretKey()
public void setSecretKey(String SecretKey)
SecretKey
- Key
Note: This field may return `null`, indicating that no valid value can be obtained.public String getBucket()
public void setBucket(String Bucket)
Bucket
- BucketName
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.