public class ModifySnapshotsSharePermissionRequest extends AbstractModel
Constructor and Description |
---|
ModifySnapshotsSharePermissionRequest() |
ModifySnapshotsSharePermissionRequest(ModifySnapshotsSharePermissionRequest 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[] |
getAccountIds()
Get List of account IDs with which a snapshot is shared.
|
String |
getPermission()
Get Operations.
|
String[] |
getSnapshotIds()
Get The ID of the snapshot.
|
void |
setAccountIds(String[] AccountIds)
Set List of account IDs with which a snapshot is shared.
|
void |
setPermission(String Permission)
Set Operations.
|
void |
setSnapshotIds(String[] SnapshotIds)
Set The ID of the snapshot.
|
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, toJsonString
public ModifySnapshotsSharePermissionRequest()
public ModifySnapshotsSharePermissionRequest(ModifySnapshotsSharePermissionRequest source)
public String[] getAccountIds()
public void setAccountIds(String[] AccountIds)
AccountIds
- List of account IDs with which a snapshot is shared. For the format of array-type parameters, see [API Introduction](https://intl.cloud.tencent.com/document/api/213/568?from_cn_redirect=1). You can find the account ID in [Account Information](https://console.cloud.tencent.com/developer).public String getPermission()
public void setPermission(String Permission)
Permission
- Operations. Valid values: `SHARE`, sharing an image; `CANCEL`, cancelling the sharing of an image.public String[] getSnapshotIds()
public void setSnapshotIds(String[] SnapshotIds)
SnapshotIds
- The ID of the snapshot. You can obtain this by using [DescribeSnapshots](https://intl.cloud.tencent.com/document/api/362/15647?from_cn_redirect=1).Copyright © 2023. All rights reserved.