com.aliyun.r_kvstore20150101.models.DescribeBackupPolicyResponseBody Maven / Gradle / Ivy
Show all versions of r_kvstore20150101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.r_kvstore20150101.models;
import com.aliyun.tea.*;
public class DescribeBackupPolicyResponseBody extends TeaModel {
/**
* The following parameters are no longer used. Ignore the parameters.
*/
@NameInMap("AccessDeniedDetail")
public DescribeBackupPolicyResponseBodyAccessDeniedDetail accessDeniedDetail;
/**
* The retention period of the backup data. Unit: days.
*
* example:
* 7
*/
@NameInMap("BackupRetentionPeriod")
public String backupRetentionPeriod;
/**
* Indicates whether the backup-as-a-service feature is enabled for the instance. Valid values:
*
* - 1: The backup-as-a-service feature is enabled for the instance.
* - 0: The backup-as-a-service feature is disabled for the instance.
*
*
* example:
* 0
*/
@NameInMap("DbsInstance")
public String dbsInstance;
/**
* Indicates whether incremental data backup is enabled. Valid values:
*
* - 1: Incremental data backup is enabled.
* - 0: Incremental data backup is disabled.
*
*
* example:
* 1
*/
@NameInMap("EnableBackupLog")
public Integer enableBackupLog;
/**
* The backup cycle. Valid values:
*
* - Monday
* - Tuesday
* - Wednesday
* - Thursday
* - Friday
* - Saturday
* - Sunday
*
*
* example:
* Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday
*/
@NameInMap("PreferredBackupPeriod")
public String preferredBackupPeriod;
/**
* The time range during which the backup was created. The time follows the ISO 8601 standard in the HH:mmZ-HH:mmZ format. The time is displayed in UTC.
*
* example:
* 05:00Z-06:00Z
*/
@NameInMap("PreferredBackupTime")
public String preferredBackupTime;
/**
* The next backup time. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.
*
* example:
* 2019-03-14T05:28Z
*/
@NameInMap("PreferredNextBackupTime")
public String preferredNextBackupTime;
/**
* The ID of the request.
*
* example:
* 90B82DB7-FB28-4CC2-ADBF-1F8659F3****
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeBackupPolicyResponseBody build(java.util.Map map) throws Exception {
DescribeBackupPolicyResponseBody self = new DescribeBackupPolicyResponseBody();
return TeaModel.build(map, self);
}
public DescribeBackupPolicyResponseBody setAccessDeniedDetail(DescribeBackupPolicyResponseBodyAccessDeniedDetail accessDeniedDetail) {
this.accessDeniedDetail = accessDeniedDetail;
return this;
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail getAccessDeniedDetail() {
return this.accessDeniedDetail;
}
public DescribeBackupPolicyResponseBody setBackupRetentionPeriod(String backupRetentionPeriod) {
this.backupRetentionPeriod = backupRetentionPeriod;
return this;
}
public String getBackupRetentionPeriod() {
return this.backupRetentionPeriod;
}
public DescribeBackupPolicyResponseBody setDbsInstance(String dbsInstance) {
this.dbsInstance = dbsInstance;
return this;
}
public String getDbsInstance() {
return this.dbsInstance;
}
public DescribeBackupPolicyResponseBody setEnableBackupLog(Integer enableBackupLog) {
this.enableBackupLog = enableBackupLog;
return this;
}
public Integer getEnableBackupLog() {
return this.enableBackupLog;
}
public DescribeBackupPolicyResponseBody setPreferredBackupPeriod(String preferredBackupPeriod) {
this.preferredBackupPeriod = preferredBackupPeriod;
return this;
}
public String getPreferredBackupPeriod() {
return this.preferredBackupPeriod;
}
public DescribeBackupPolicyResponseBody setPreferredBackupTime(String preferredBackupTime) {
this.preferredBackupTime = preferredBackupTime;
return this;
}
public String getPreferredBackupTime() {
return this.preferredBackupTime;
}
public DescribeBackupPolicyResponseBody setPreferredNextBackupTime(String preferredNextBackupTime) {
this.preferredNextBackupTime = preferredNextBackupTime;
return this;
}
public String getPreferredNextBackupTime() {
return this.preferredNextBackupTime;
}
public DescribeBackupPolicyResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeBackupPolicyResponseBodyAccessDeniedDetail extends TeaModel {
/**
* This parameter is no longer used. Ignore this parameter.
*
* example:
* _
*/
@NameInMap("AuthAction")
public String authAction;
/**
* This parameter is no longer used. Ignore this parameter.
*
* example:
* _
*/
@NameInMap("AuthPrincipalDisplayName")
public String authPrincipalDisplayName;
/**
* This parameter is no longer used. Ignore this parameter.
*
* example:
* _
*/
@NameInMap("AuthPrincipalOwnerId")
public String authPrincipalOwnerId;
/**
* This parameter is no longer used. Ignore this parameter.
*
* example:
* _
*/
@NameInMap("AuthPrincipalType")
public String authPrincipalType;
/**
* This parameter is no longer used. Ignore this parameter.
*
* example:
* _
*/
@NameInMap("EncodedDiagnosticMessage")
public String encodedDiagnosticMessage;
/**
* This parameter is no longer used. Ignore this parameter.
*
* example:
* _
*/
@NameInMap("NoPermissionType")
public String noPermissionType;
/**
* This parameter is no longer used. Ignore this parameter.
*
* example:
* _
*/
@NameInMap("PolicyType")
public String policyType;
public static DescribeBackupPolicyResponseBodyAccessDeniedDetail build(java.util.Map map) throws Exception {
DescribeBackupPolicyResponseBodyAccessDeniedDetail self = new DescribeBackupPolicyResponseBodyAccessDeniedDetail();
return TeaModel.build(map, self);
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail setAuthAction(String authAction) {
this.authAction = authAction;
return this;
}
public String getAuthAction() {
return this.authAction;
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail setAuthPrincipalDisplayName(String authPrincipalDisplayName) {
this.authPrincipalDisplayName = authPrincipalDisplayName;
return this;
}
public String getAuthPrincipalDisplayName() {
return this.authPrincipalDisplayName;
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail setAuthPrincipalOwnerId(String authPrincipalOwnerId) {
this.authPrincipalOwnerId = authPrincipalOwnerId;
return this;
}
public String getAuthPrincipalOwnerId() {
return this.authPrincipalOwnerId;
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail setAuthPrincipalType(String authPrincipalType) {
this.authPrincipalType = authPrincipalType;
return this;
}
public String getAuthPrincipalType() {
return this.authPrincipalType;
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail setEncodedDiagnosticMessage(String encodedDiagnosticMessage) {
this.encodedDiagnosticMessage = encodedDiagnosticMessage;
return this;
}
public String getEncodedDiagnosticMessage() {
return this.encodedDiagnosticMessage;
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail setNoPermissionType(String noPermissionType) {
this.noPermissionType = noPermissionType;
return this;
}
public String getNoPermissionType() {
return this.noPermissionType;
}
public DescribeBackupPolicyResponseBodyAccessDeniedDetail setPolicyType(String policyType) {
this.policyType = policyType;
return this;
}
public String getPolicyType() {
return this.policyType;
}
}
}