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

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

The newest version!






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












com.google.api.services.sqladmin.model

Class BackupRun

    • Constructor Detail

      • BackupRun

        public BackupRun()
    • Method Detail

      • getBackupKind

        public String getBackupKind()
        Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
        Returns:
        value or null for none
      • setBackupKind

        public BackupRun setBackupKind(String backupKind)
        Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
        Parameters:
        backupKind - backupKind or null for none
      • getDescription

        public String getDescription()
        The description of this run, only applicable to on-demand backups.
        Returns:
        value or null for none
      • setDescription

        public BackupRun setDescription(String description)
        The description of this run, only applicable to on-demand backups.
        Parameters:
        description - description or null for none
      • getDiskEncryptionConfiguration

        public DiskEncryptionConfiguration getDiskEncryptionConfiguration()
        Encryption configuration specific to a backup.
        Returns:
        value or null for none
      • setDiskEncryptionConfiguration

        public BackupRun setDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)
        Encryption configuration specific to a backup.
        Parameters:
        diskEncryptionConfiguration - diskEncryptionConfiguration or null for none
      • getDiskEncryptionStatus

        public DiskEncryptionStatus getDiskEncryptionStatus()
        Encryption status specific to a backup.
        Returns:
        value or null for none
      • setDiskEncryptionStatus

        public BackupRun setDiskEncryptionStatus(DiskEncryptionStatus diskEncryptionStatus)
        Encryption status specific to a backup.
        Parameters:
        diskEncryptionStatus - diskEncryptionStatus or null for none
      • getEndTime

        public String getEndTime()
        The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Returns:
        value or null for none
      • setEndTime

        public BackupRun setEndTime(String endTime)
        The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Parameters:
        endTime - endTime or null for none
      • getEnqueuedTime

        public String getEnqueuedTime()
        The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Returns:
        value or null for none
      • setEnqueuedTime

        public BackupRun setEnqueuedTime(String enqueuedTime)
        The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Parameters:
        enqueuedTime - enqueuedTime or null for none
      • getError

        public OperationError getError()
        Information about why the backup operation failed. This is only present if the run has the FAILED status.
        Returns:
        value or null for none
      • setError

        public BackupRun setError(OperationError error)
        Information about why the backup operation failed. This is only present if the run has the FAILED status.
        Parameters:
        error - error or null for none
      • getId

        public Long getId()
        The identifier for this backup run. Unique only for a specific Cloud SQL instance.
        Returns:
        value or null for none
      • setId

        public BackupRun setId(Long id)
        The identifier for this backup run. Unique only for a specific Cloud SQL instance.
        Parameters:
        id - id or null for none
      • getInstance

        public String getInstance()
        Name of the database instance.
        Returns:
        value or null for none
      • setInstance

        public BackupRun setInstance(String instance)
        Name of the database instance.
        Parameters:
        instance - instance or null for none
      • getKind

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

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

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

        public BackupRun setLocation(String location)
        Location of the backups.
        Parameters:
        location - location or null for none
      • getMaxChargeableBytes

        public Long getMaxChargeableBytes()
        Output only. The maximum chargeable bytes for the backup.
        Returns:
        value or null for none
      • setMaxChargeableBytes

        public BackupRun setMaxChargeableBytes(Long maxChargeableBytes)
        Output only. The maximum chargeable bytes for the backup.
        Parameters:
        maxChargeableBytes - maxChargeableBytes or null for none
      • getSelfLink

        public String getSelfLink()
        The URI of this resource.
        Returns:
        value or null for none
      • setSelfLink

        public BackupRun setSelfLink(String selfLink)
        The URI of this resource.
        Parameters:
        selfLink - selfLink or null for none
      • getStartTime

        public String getStartTime()
        The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Returns:
        value or null for none
      • setStartTime

        public BackupRun setStartTime(String startTime)
        The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Parameters:
        startTime - startTime or null for none
      • getStatus

        public String getStatus()
        The status of this run.
        Returns:
        value or null for none
      • setStatus

        public BackupRun setStatus(String status)
        The status of this run.
        Parameters:
        status - status or null for none
      • getTimeZone

        public String getTimeZone()
        Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
        Returns:
        value or null for none
      • setTimeZone

        public BackupRun setTimeZone(String timeZone)
        Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
        Parameters:
        timeZone - timeZone or null for none
      • getType

        public String getType()
        The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
        Returns:
        value or null for none
      • setType

        public BackupRun setType(String type)
        The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
        Parameters:
        type - type or null for none
      • getWindowStartTime

        public String getWindowStartTime()
        The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Returns:
        value or null for none
      • setWindowStartTime

        public BackupRun setWindowStartTime(String windowStartTime)
        The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
        Parameters:
        windowStartTime - windowStartTime or null for none
      • set

        public BackupRun set(String fieldName,
                             Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public BackupRun 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