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

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

There is a newer version: v1beta4-rev20201026-1.30.10
Show newest version






BackupRun (Cloud SQL Admin API v1beta4-rev20201007-1.30.10)












com.google.api.services.sql.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. Applies only to Second Generation instances.
        Returns:
        value or null for none
      • setDiskEncryptionConfiguration

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

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

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

        public String getEndTime()
        The time the backup operation completed in UTC timezone in RFC 3339 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 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 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 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
      • 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 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 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
      • getType

        public String getType()
        The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
        Returns:
        value or null for none
      • setType

        public BackupRun setType(String type)
        The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
        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 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 format, for example *2012-11-15T16:19:00.094Z*.
        Parameters:
        windowStartTime - windowStartTime or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy