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

com.aliyun.sas20181203.models.DescribeUniBackupPolicyDetailResponseBody 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 DescribeUniBackupPolicyDetailResponseBody extends TeaModel {
    /**
     * 

The ID of the request, which is used to locate and troubleshoot issues.

* * example: *

F35F45B0-5D6B-4238-BE02-A62D0760****

*/ @NameInMap("RequestId") public String requestId; /** *

The details of the anti-ransomware policy.

*/ @NameInMap("UniBackupPolicyDTO") public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO uniBackupPolicyDTO; public static DescribeUniBackupPolicyDetailResponseBody build(java.util.Map map) throws Exception { DescribeUniBackupPolicyDetailResponseBody self = new DescribeUniBackupPolicyDetailResponseBody(); return TeaModel.build(map, self); } public DescribeUniBackupPolicyDetailResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeUniBackupPolicyDetailResponseBody setUniBackupPolicyDTO(DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO uniBackupPolicyDTO) { this.uniBackupPolicyDTO = uniBackupPolicyDTO; return this; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO getUniBackupPolicyDTO() { return this.uniBackupPolicyDTO; } public static class DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan extends TeaModel { /** *

An array that consists of the days of a week on which the backup is performed.

*/ @NameInMap("Days") public java.util.List days; /** *

The interval of backup tasks.

* * example: *

2

*/ @NameInMap("Interval") public Integer interval; /** *

The unit of the interval. Valid values:

*
    *
  • hourly: hour
  • *
  • daily: day
  • *
  • weekly: week
  • *
* * example: *

daily

*/ @NameInMap("PlanType") public String planType; /** *

The time when the full backup started. The time is in the HH:mm:ss format.

* * example: *

00:10:00

*/ @NameInMap("StartTime") public String startTime; public static DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan build(java.util.Map map) throws Exception { DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan self = new DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan(); return TeaModel.build(map, self); } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan setDays(java.util.List days) { this.days = days; return this; } public java.util.List getDays() { return this.days; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan setPlanType(String planType) { this.planType = planType; return this; } public String getPlanType() { return this.planType; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan setStartTime(String startTime) { this.startTime = startTime; return this; } public String getStartTime() { return this.startTime; } } public static class DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan extends TeaModel { /** *

An array that consists of the days of a week on which the backup is performed.

*/ @NameInMap("Days") public java.util.List days; /** *

The interval of backup tasks.

* * example: *

2

*/ @NameInMap("Interval") public Integer interval; /** *

The unit of the interval. Valid values:

*
    *
  • hourly: hour
  • *
  • daily: day
  • *
  • weekly: week
  • *
* * example: *

daily

*/ @NameInMap("PlanType") public String planType; /** *

The time when the incremental data backup starts. The time is in the hh:mm:ss format.

* * example: *

00:10:00

*/ @NameInMap("StartTime") public String startTime; public static DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan build(java.util.Map map) throws Exception { DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan self = new DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan(); return TeaModel.build(map, self); } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan setDays(java.util.List days) { this.days = days; return this; } public java.util.List getDays() { return this.days; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan setPlanType(String planType) { this.planType = planType; return this; } public String getPlanType() { return this.planType; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan setStartTime(String startTime) { this.startTime = startTime; return this; } public String getStartTime() { return this.startTime; } } public static class DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO extends TeaModel { /** *

The name of the database account.

* * example: *

admin

*/ @NameInMap("AccountName") public String accountName; /** *

The status of the database client. Valid values:

*
    *
  • UNKNOWN: unknown
  • *
  • INSTALLED: installed
  • *
  • INSTALL_FAILED: installation failed
  • *
  • UNINSTALL_FAILED: uninstallation failed
  • *
* * example: *

INSTALLED

*/ @NameInMap("AgentStatus") public String agentStatus; /** *

The type of the database. Valid values:

*
    *
  • MYSQL
  • *
  • MSSQL
  • *
  • Oracle
  • *
* * example: *

ORACLE

*/ @NameInMap("DatabaseType") public String databaseType; /** *

The details of the policy for full backup.

*/ @NameInMap("FullPlan") public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan fullPlan; /** *

The policy for incremental data backup.

*/ @NameInMap("IncPlan") public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan incPlan; /** *

The ID of the server.

* * example: *

i-2zefcy2id5d60m9t****

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

The name of the server.

* * example: *

sql-test-01

*/ @NameInMap("InstanceName") public String instanceName; /** *

The ID of the anti-ransomware policy.

* * example: *

123

*/ @NameInMap("PolicyId") public Long policyId; /** *

The name of the anti-ransomware policy.

* * example: *

auto_test_sql

*/ @NameInMap("PolicyName") public String policyName; /** *

The status of the anti-ransomware policy. Valid values:

*
    *
  • initiating: initializing
  • *
  • opening: enabled
  • *
  • closing: disabled
  • *
  • deleting: deleting
  • *
* * example: *

opening

*/ @NameInMap("PolicyStatus") public String policyStatus; /** *

The retention period of the backup snapshot.

* * example: *

7

*/ @NameInMap("Retention") public Integer retention; /** *

The maximum network bandwidth that is allowed during data backup. Unit: bytes.

* * example: *

5242880

*/ @NameInMap("SpeedLimiter") public Long speedLimiter; public static DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO build(java.util.Map map) throws Exception { DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO self = new DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO(); return TeaModel.build(map, self); } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setAccountName(String accountName) { this.accountName = accountName; return this; } public String getAccountName() { return this.accountName; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setAgentStatus(String agentStatus) { this.agentStatus = agentStatus; return this; } public String getAgentStatus() { return this.agentStatus; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setDatabaseType(String databaseType) { this.databaseType = databaseType; return this; } public String getDatabaseType() { return this.databaseType; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setFullPlan(DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan fullPlan) { this.fullPlan = fullPlan; return this; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOFullPlan getFullPlan() { return this.fullPlan; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setIncPlan(DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan incPlan) { this.incPlan = incPlan; return this; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTOIncPlan getIncPlan() { return this.incPlan; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setInstanceName(String instanceName) { this.instanceName = instanceName; return this; } public String getInstanceName() { return this.instanceName; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setPolicyId(Long policyId) { this.policyId = policyId; return this; } public Long getPolicyId() { return this.policyId; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setPolicyName(String policyName) { this.policyName = policyName; return this; } public String getPolicyName() { return this.policyName; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setPolicyStatus(String policyStatus) { this.policyStatus = policyStatus; return this; } public String getPolicyStatus() { return this.policyStatus; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setRetention(Integer retention) { this.retention = retention; return this; } public Integer getRetention() { return this.retention; } public DescribeUniBackupPolicyDetailResponseBodyUniBackupPolicyDTO setSpeedLimiter(Long speedLimiter) { this.speedLimiter = speedLimiter; return this; } public Long getSpeedLimiter() { return this.speedLimiter; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy