public class CopySnapshotCrossRegionsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CopySnapshotCrossRegionsRequest() |
CopySnapshotCrossRegionsRequest(CopySnapshotCrossRegionsRequest 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[] |
getDestinationRegions()
Get Destination regions of the replication task.
|
String |
getSnapshotId()
Get Snapshot ID, which can be queried via the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API.
|
String |
getSnapshotName()
Get Name of the snapshot replica.
|
void |
setDestinationRegions(String[] DestinationRegions)
Set Destination regions of the replication task.
|
void |
setSnapshotId(String SnapshotId)
Set Snapshot ID, which can be queried via the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API.
|
void |
setSnapshotName(String SnapshotName)
Set Name of the snapshot replica.
|
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 CopySnapshotCrossRegionsRequest()
public CopySnapshotCrossRegionsRequest(CopySnapshotCrossRegionsRequest source)
public String[] getDestinationRegions()
public void setDestinationRegions(String[] DestinationRegions)
DestinationRegions
- Destination regions of the replication task. You can query the value of regions by calling [DescribeRegions](https://intl.cloud.tencent.com/document/product/213/9456?from_cn_redirect=1) API. Note that you can only specify regions that support snapshots.public String getSnapshotId()
public void setSnapshotId(String SnapshotId)
SnapshotId
- Snapshot ID, which can be queried via the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API.public String getSnapshotName()
public void setSnapshotName(String SnapshotName)
SnapshotName
- Name of the snapshot replica. If it’s not specified, it defaults to “Copied [source snapshot ID from [region name]”Copyright © 2024. All rights reserved.