public class OthersPrivateAccess extends AbstractModel
header, skipSign| Constructor and Description |
|---|
OthersPrivateAccess() |
OthersPrivateAccess(OthersPrivateAccess 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.
|
String |
getBucket()
Get Bucket name
Note: This field may return `null`, indicating that no valid values can be obtained.
|
String |
getRegion()
Get Region.
|
String |
getSecretKey()
Get Key.
|
String |
getSwitch()
Get Whether to enable origin-pull authentication for other object storage origins.
|
void |
setAccessKey(String AccessKey)
Set Access ID.
|
void |
setBucket(String Bucket)
Set Bucket name
Note: This field may return `null`, indicating that no valid values can be obtained.
|
void |
setRegion(String Region)
Set Region.
|
void |
setSecretKey(String SecretKey)
Set Key.
|
void |
setSwitch(String Switch)
Set Whether to enable origin-pull authentication for other object storage origins.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic OthersPrivateAccess()
public OthersPrivateAccess(OthersPrivateAccess source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable origin-pull authentication for other object storage origins. 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 values can be obtained.public String getSecretKey()
public void setSecretKey(String SecretKey)
SecretKey - Key.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getRegion()
public void setRegion(String Region)
Region - Region.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getBucket()
public void setBucket(String Bucket)
Bucket - Bucket name
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.