public class CosConfig extends AbstractModel
| Constructor and Description | 
|---|
| CosConfig() | 
| CosConfig(CosConfig 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 | getAction()Get Specifies how the backend COS bucket is called by the API. | 
| Boolean | getAuthorization()Get Whether to enable the backend COS signature for the API. | 
| String | getBucketName()Get Backend COS bucket of the API
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getPathMatchMode()Get The path matching mode of the backend COS service
`BackEndPath`: Match the backend path
`FullPath`: Match the full path
Default: `BackEndPath`
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | setAction(String Action)Set Specifies how the backend COS bucket is called by the API. | 
| void | setAuthorization(Boolean Authorization)Set Whether to enable the backend COS signature for the API. | 
| void | setBucketName(String BucketName)Set Backend COS bucket of the API
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setPathMatchMode(String PathMatchMode)Set The path matching mode of the backend COS service
`BackEndPath`: Match the backend path
`FullPath`: Match the full path
Default: `BackEndPath`
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| 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, toJsonStringpublic CosConfig()
public CosConfig(CosConfig source)
public String getAction()
public void setAction(String Action)
Action - Specifies how the backend COS bucket is called by the API. The frontend request method and Action can be:
GET:GetObject
PUT:PutObject
POST:PostObject、AppendObject
HEAD: HeadObject
DELETE: DeleteObject
Note: this field may return `null`, indicating that no valid values can be obtained.public String getBucketName()
public void setBucketName(String BucketName)
BucketName - Backend COS bucket of the API
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getAuthorization()
public void setAuthorization(Boolean Authorization)
Authorization - Whether to enable the backend COS signature for the API. It defaults to `false`.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getPathMatchMode()
public void setPathMatchMode(String PathMatchMode)
PathMatchMode - The path matching mode of the backend COS service
`BackEndPath`: Match the backend path
`FullPath`: Match the full path
Default: `BackEndPath`
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.