Class SnapshotPolicy

    • Constructor Detail

      • SnapshotPolicy

        public SnapshotPolicy()
      • SnapshotPolicy

        public SnapshotPolicy​(SnapshotPolicy 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.
    • Method Detail

      • getSnapshotPolicyName

        public String getSnapshotPolicyName()
        Get 快照策略名称。
        Returns:
        SnapshotPolicyName 快照策略名称。
      • setSnapshotPolicyName

        public void setSnapshotPolicyName​(String SnapshotPolicyName)
        Set 快照策略名称。
        Parameters:
        SnapshotPolicyName - 快照策略名称。
      • getBackupType

        public String getBackupType()
        Get 备份策略类型,operate-操作备份,time-定时备份。
        Returns:
        BackupType 备份策略类型,operate-操作备份,time-定时备份。
      • setBackupType

        public void setBackupType​(String BackupType)
        Set 备份策略类型,operate-操作备份,time-定时备份。
        Parameters:
        BackupType - 备份策略类型,operate-操作备份,time-定时备份。
      • getKeepTime

        public Long getKeepTime()
        Get 保留时间,支持1~365天。
        Returns:
        KeepTime 保留时间,支持1~365天。
      • setKeepTime

        public void setKeepTime​(Long KeepTime)
        Set 保留时间,支持1~365天。
        Parameters:
        KeepTime - 保留时间,支持1~365天。
      • getCreateNewCos

        public Boolean getCreateNewCos()
        Get 是否创建新的cos桶,默认为False。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        CreateNewCos 是否创建新的cos桶,默认为False。 注意:此字段可能返回 null,表示取不到有效值。
      • setCreateNewCos

        public void setCreateNewCos​(Boolean CreateNewCos)
        Set 是否创建新的cos桶,默认为False。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        CreateNewCos - 是否创建新的cos桶,默认为False。 注意:此字段可能返回 null,表示取不到有效值。
      • getCosRegion

        public String getCosRegion()
        Get cos桶所在地域。
        Returns:
        CosRegion cos桶所在地域。
      • setCosRegion

        public void setCosRegion​(String CosRegion)
        Set cos桶所在地域。
        Parameters:
        CosRegion - cos桶所在地域。
      • getCosBucket

        public String getCosBucket()
        Get cos桶。
        Returns:
        CosBucket cos桶。
      • setCosBucket

        public void setCosBucket​(String CosBucket)
        Set cos桶。
        Parameters:
        CosBucket - cos桶。
      • getSnapshotPolicyId

        public String getSnapshotPolicyId()
        Get 快照策略Id。
        Returns:
        SnapshotPolicyId 快照策略Id。
      • setSnapshotPolicyId

        public void setSnapshotPolicyId​(String SnapshotPolicyId)
        Set 快照策略Id。
        Parameters:
        SnapshotPolicyId - 快照策略Id。
      • getBackupPolicies

        public BackupPolicy[] getBackupPolicies()
        Get 时间备份策略。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        BackupPolicies 时间备份策略。 注意:此字段可能返回 null,表示取不到有效值。
      • setBackupPolicies

        public void setBackupPolicies​(BackupPolicy[] BackupPolicies)
        Set 时间备份策略。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        BackupPolicies - 时间备份策略。 注意:此字段可能返回 null,表示取不到有效值。
      • getEnable

        public Boolean getEnable()
        Get 启用状态,True-启用,False-停用,默认为True。
        Returns:
        Enable 启用状态,True-启用,False-停用,默认为True。
      • setEnable

        public void setEnable​(Boolean Enable)
        Set 启用状态,True-启用,False-停用,默认为True。
        Parameters:
        Enable - 启用状态,True-启用,False-停用,默认为True。
      • getCreateTime

        public String getCreateTime()
        Get 创建时间。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        CreateTime 创建时间。 注意:此字段可能返回 null,表示取不到有效值。
      • setCreateTime

        public void setCreateTime​(String CreateTime)
        Set 创建时间。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        CreateTime - 创建时间。 注意:此字段可能返回 null,表示取不到有效值。