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

target.apidocs.com.google.api.services.sqladmin.model.BackupConfiguration.html Maven / Gradle / Ivy

The newest version!






BackupConfiguration (Cloud SQL Admin API v1-rev20241108-2.0.0)












com.google.api.services.sqladmin.model

Class BackupConfiguration

    • Constructor Detail

      • BackupConfiguration

        public BackupConfiguration()
    • Method Detail

      • getBackupRetentionSettings

        public BackupRetentionSettings getBackupRetentionSettings()
        Backup retention settings.
        Returns:
        value or null for none
      • setBackupRetentionSettings

        public BackupConfiguration setBackupRetentionSettings(BackupRetentionSettings backupRetentionSettings)
        Backup retention settings.
        Parameters:
        backupRetentionSettings - backupRetentionSettings or null for none
      • getBinaryLogEnabled

        public Boolean getBinaryLogEnabled()
        (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
        Returns:
        value or null for none
      • setBinaryLogEnabled

        public BackupConfiguration setBinaryLogEnabled(Boolean binaryLogEnabled)
        (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
        Parameters:
        binaryLogEnabled - binaryLogEnabled or null for none
      • getEnabled

        public Boolean getEnabled()
        Whether this configuration is enabled.
        Returns:
        value or null for none
      • setEnabled

        public BackupConfiguration setEnabled(Boolean enabled)
        Whether this configuration is enabled.
        Parameters:
        enabled - enabled or null for none
      • getKind

        public String getKind()
        This is always `sql#backupConfiguration`.
        Returns:
        value or null for none
      • setKind

        public BackupConfiguration setKind(String kind)
        This is always `sql#backupConfiguration`.
        Parameters:
        kind - kind or null for none
      • getLocation

        public String getLocation()
        Location of the backup
        Returns:
        value or null for none
      • setLocation

        public BackupConfiguration setLocation(String location)
        Location of the backup
        Parameters:
        location - location or null for none
      • getPointInTimeRecoveryEnabled

        public Boolean getPointInTimeRecoveryEnabled()
        Whether point in time recovery is enabled.
        Returns:
        value or null for none
      • setPointInTimeRecoveryEnabled

        public BackupConfiguration setPointInTimeRecoveryEnabled(Boolean pointInTimeRecoveryEnabled)
        Whether point in time recovery is enabled.
        Parameters:
        pointInTimeRecoveryEnabled - pointInTimeRecoveryEnabled or null for none
      • getReplicationLogArchivingEnabled

        public Boolean getReplicationLogArchivingEnabled()
        Reserved for future use.
        Returns:
        value or null for none
      • setReplicationLogArchivingEnabled

        public BackupConfiguration setReplicationLogArchivingEnabled(Boolean replicationLogArchivingEnabled)
        Reserved for future use.
        Parameters:
        replicationLogArchivingEnabled - replicationLogArchivingEnabled or null for none
      • getStartTime

        public String getStartTime()
        Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
        Returns:
        value or null for none
      • setStartTime

        public BackupConfiguration setStartTime(String startTime)
        Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
        Parameters:
        startTime - startTime or null for none
      • getTransactionLogRetentionDays

        public Integer getTransactionLogRetentionDays()
        The number of days of transaction logs we retain for point in time restore, from 1-7.
        Returns:
        value or null for none
      • setTransactionLogRetentionDays

        public BackupConfiguration setTransactionLogRetentionDays(Integer transactionLogRetentionDays)
        The number of days of transaction logs we retain for point in time restore, from 1-7.
        Parameters:
        transactionLogRetentionDays - transactionLogRetentionDays or null for none
      • getTransactionalLogStorageState

        public String getTransactionalLogStorageState()
        Output only. This value contains the storage location of transactional logs used to perform point-in-time recovery (PITR) for the database.
        Returns:
        value or null for none
      • setTransactionalLogStorageState

        public BackupConfiguration setTransactionalLogStorageState(String transactionalLogStorageState)
        Output only. This value contains the storage location of transactional logs used to perform point-in-time recovery (PITR) for the database.
        Parameters:
        transactionalLogStorageState - transactionalLogStorageState or null for none
      • clone

        public BackupConfiguration clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy