public class OssPrivateAccess extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| OssPrivateAccess() | 
| OssPrivateAccess(OssPrivateAccess 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 BucketName
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getRegion()Get Region
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getSecretKey()Get Key. | 
| String | getSwitch()Get Whether to enable OSS origin-pull authentication. | 
| void | setAccessKey(String AccessKey)Set Access ID. | 
| void | setBucket(String Bucket)Set BucketName
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setRegion(String Region)Set Region
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setSecretKey(String SecretKey)Set Key. | 
| void | setSwitch(String Switch)Set Whether to enable OSS origin-pull authentication. | 
| 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 OssPrivateAccess()
public OssPrivateAccess(OssPrivateAccess source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable OSS origin-pull authentication. 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 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 © 2025. All rights reserved.