RecoverShardSnapshotRequest constructor
RecoverShardSnapshotRequest({
- String? collectionName,
- int? shardId,
- ShardSnapshotLocation? snapshotLocation,
- ShardSnapshotPriority? snapshotPriority,
- String? checksum,
- String? apiKey,
Implementation
factory RecoverShardSnapshotRequest({
$core.String? collectionName,
$core.int? shardId,
ShardSnapshotLocation? snapshotLocation,
ShardSnapshotPriority? snapshotPriority,
$core.String? checksum,
$core.String? apiKey,
}) {
final $result = create();
if (collectionName != null) {
$result.collectionName = collectionName;
}
if (shardId != null) {
$result.shardId = shardId;
}
if (snapshotLocation != null) {
$result.snapshotLocation = snapshotLocation;
}
if (snapshotPriority != null) {
$result.snapshotPriority = snapshotPriority;
}
if (checksum != null) {
$result.checksum = checksum;
}
if (apiKey != null) {
$result.apiKey = apiKey;
}
return $result;
}