All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sas20181203.models.DeleteBackupSnapshotRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class DeleteBackupSnapshotRequest extends TeaModel {
    /**
     * 

The regions for backup.

*/ @NameInMap("BackupRegionIdList") public java.util.List backupRegionIdList; /** *

The backup snapshots.

*/ @NameInMap("BackupSnapshotList") public java.util.List backupSnapshotList; /** *

Specifies whether to retain the latest snapshot. Valid values:

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ @NameInMap("RetainLatestSnapshot") public Boolean retainLatestSnapshot; public static DeleteBackupSnapshotRequest build(java.util.Map map) throws Exception { DeleteBackupSnapshotRequest self = new DeleteBackupSnapshotRequest(); return TeaModel.build(map, self); } public DeleteBackupSnapshotRequest setBackupRegionIdList(java.util.List backupRegionIdList) { this.backupRegionIdList = backupRegionIdList; return this; } public java.util.List getBackupRegionIdList() { return this.backupRegionIdList; } public DeleteBackupSnapshotRequest setBackupSnapshotList(java.util.List backupSnapshotList) { this.backupSnapshotList = backupSnapshotList; return this; } public java.util.List getBackupSnapshotList() { return this.backupSnapshotList; } public DeleteBackupSnapshotRequest setRetainLatestSnapshot(Boolean retainLatestSnapshot) { this.retainLatestSnapshot = retainLatestSnapshot; return this; } public Boolean getRetainLatestSnapshot() { return this.retainLatestSnapshot; } public static class DeleteBackupSnapshotRequestBackupSnapshotList extends TeaModel { /** *

The ID of the Cloud Backup client.

*
*

You can call the DescribeSnapshots operation to query the ID.

*
*

This parameter is required.

* * example: *

c-000a4h33w14ka8xagb2s

*/ @NameInMap("ClientId") public String clientId; /** *

The ID of the server.

*

This parameter is required.

* * example: *

i-j6cj8vyajp1fo4atxkae

*/ @NameInMap("InstanceId") public String instanceId; /** *

The region in which Security Center is deployed. Valid values:

*
    *
  • cn-hangzhou: China (Hangzhou).
  • *
  • ap-southeast-1: Singapore.
  • *
  • cn-beijing: China (Beijing).
  • *
*

This parameter is required.

* * example: *

cn-beijing

*/ @NameInMap("RegionId") public String regionId; /** *

The ID of the snapshot that you want to delete.

*
*

You can call the DescribeSnapshots operation to query the ID.

*
*

This parameter is required.

* * example: *

s-000f9p6r5trm6u4dc1iq

*/ @NameInMap("SnapshotId") public String snapshotId; /** *

The type of the data source. Valid values:

*
    *
  • ECS_FILE: Elastic Compute Service (ECS) files.
  • *
  • OSS: Object Storage Service (OSS) buckets.
  • *
  • NAS: Apsara File Storage NAS (NAS) file systems.
  • *
  • OTS_TABLE: Tablestore instances.
  • *
*

This parameter is required.

* * example: *

ECS_FILE

*/ @NameInMap("SourceType") public String sourceType; /** *

The ID of the backup vault that is used in the restoration task.

*
*

You can call the DescribeSnapshots operation to query the ID.

*
*

This parameter is required.

* * example: *

v-0004vhwcs2pmacfzrzt5

*/ @NameInMap("VaultId") public String vaultId; public static DeleteBackupSnapshotRequestBackupSnapshotList build(java.util.Map map) throws Exception { DeleteBackupSnapshotRequestBackupSnapshotList self = new DeleteBackupSnapshotRequestBackupSnapshotList(); return TeaModel.build(map, self); } public DeleteBackupSnapshotRequestBackupSnapshotList setClientId(String clientId) { this.clientId = clientId; return this; } public String getClientId() { return this.clientId; } public DeleteBackupSnapshotRequestBackupSnapshotList setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public DeleteBackupSnapshotRequestBackupSnapshotList setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DeleteBackupSnapshotRequestBackupSnapshotList setSnapshotId(String snapshotId) { this.snapshotId = snapshotId; return this; } public String getSnapshotId() { return this.snapshotId; } public DeleteBackupSnapshotRequestBackupSnapshotList setSourceType(String sourceType) { this.sourceType = sourceType; return this; } public String getSourceType() { return this.sourceType; } public DeleteBackupSnapshotRequestBackupSnapshotList setVaultId(String vaultId) { this.vaultId = vaultId; return this; } public String getVaultId() { return this.vaultId; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy