public class AddShareUnitRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
AddShareUnitRequest() |
AddShareUnitRequest(AddShareUnitRequest 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 |
getArea()
Get Shared unit region.
|
String |
getDescription()
Get Shared unit description.
|
String |
getName()
Get Shared unit name.
|
Long |
getShareScope()
Get Sharing scope.
|
void |
setArea(String Area)
Set Shared unit region.
|
void |
setDescription(String Description)
Set Shared unit description.
|
void |
setName(String Name)
Set Shared unit name.
|
void |
setShareScope(Long ShareScope)
Set Sharing scope.
|
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 AddShareUnitRequest()
public AddShareUnitRequest(AddShareUnitRequest source)
public String getName()
public void setName(String Name)
Name
- Shared unit name. It only supports combinations of uppercase and lowercase letters, digits, hyphens (-), and underscores (_), with 3 to 128 characters.public String getArea()
public void setArea(String Area)
Area
- Shared unit region. You can obtain supported shared regions through the API [DescribeShareAreas](https://intl.cloud.tencent.com/document/product/850/103050?from_cn_redirect=1).public String getDescription()
public void setDescription(String Description)
Description
- Shared unit description. Maximum: 128 characters.public Long getShareScope()
public void setShareScope(Long ShareScope)
ShareScope
- Sharing scope. Valid values: 1: Only sharing within a group organization is allowed; 2: Sharing with any account is allowed. Default value: 1Copyright © 2025. All rights reserved.