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

com.google.api.services.securitycenter.v1.model.GoogleCloudSecuritycenterV2BackupDisasterRecovery Maven / Gradle / Ivy

There is a newer version: v1-rev20241111-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.securitycenter.v1.model;

/**
 * Information related to Google Cloud Backup and DR Service findings.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Security Command Center API. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV2BackupDisasterRecovery extends com.google.api.client.json.GenericJson { /** * The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of * backup data. For example, `backup-server-57137`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String appliance; /** * The names of Backup and DR applications. An application is a VM, database, or file system on a * managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, * `centos7-01-vol01`, `centos7-01-vol02`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List applications; /** * The timestamp at which the Backup and DR backup was created. * The value may be {@code null}. */ @com.google.api.client.util.Key private String backupCreateTime; /** * The name of a Backup and DR template which comprises one or more backup policies. See the * [Backup and DR documentation](https://cloud.google.com/backup-disaster- * recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String backupTemplate; /** * The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, * `OnVault`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String backupType; /** * The name of a Backup and DR host, which is managed by the backup and recovery appliance and * known to the management console. The host can be of type Generic (for example, Compute Engine, * SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and * DR documentation on hosts](https://cloud.google.com/backup-disaster- * recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For * example, `centos7-01`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String host; /** * The names of Backup and DR policies that are associated with a template and that define when to * run a backup, how frequently to run a backup, and how long to retain the backup image. For * example, `onvaults`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List policies; /** * The names of Backup and DR advanced policy options of a policy applying to an application. See * the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster- * recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List policyOptions; /** * The name of the Backup and DR resource profile that specifies the storage media for backups of * application and VM data. See the [Backup and DR documentation on * profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). * For example, `GCP`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String profile; /** * The name of the Backup and DR storage pool that the backup and recovery appliance is storing * data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the * [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster- * recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String storagePool; /** * The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of * backup data. For example, `backup-server-57137`. * @return value or {@code null} for none */ public java.lang.String getAppliance() { return appliance; } /** * The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of * backup data. For example, `backup-server-57137`. * @param appliance appliance or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setAppliance(java.lang.String appliance) { this.appliance = appliance; return this; } /** * The names of Backup and DR applications. An application is a VM, database, or file system on a * managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, * `centos7-01-vol01`, `centos7-01-vol02`. * @return value or {@code null} for none */ public java.util.List getApplications() { return applications; } /** * The names of Backup and DR applications. An application is a VM, database, or file system on a * managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, * `centos7-01-vol01`, `centos7-01-vol02`. * @param applications applications or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setApplications(java.util.List applications) { this.applications = applications; return this; } /** * The timestamp at which the Backup and DR backup was created. * @return value or {@code null} for none */ public String getBackupCreateTime() { return backupCreateTime; } /** * The timestamp at which the Backup and DR backup was created. * @param backupCreateTime backupCreateTime or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setBackupCreateTime(String backupCreateTime) { this.backupCreateTime = backupCreateTime; return this; } /** * The name of a Backup and DR template which comprises one or more backup policies. See the * [Backup and DR documentation](https://cloud.google.com/backup-disaster- * recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`. * @return value or {@code null} for none */ public java.lang.String getBackupTemplate() { return backupTemplate; } /** * The name of a Backup and DR template which comprises one or more backup policies. See the * [Backup and DR documentation](https://cloud.google.com/backup-disaster- * recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`. * @param backupTemplate backupTemplate or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setBackupTemplate(java.lang.String backupTemplate) { this.backupTemplate = backupTemplate; return this; } /** * The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, * `OnVault`. * @return value or {@code null} for none */ public java.lang.String getBackupType() { return backupType; } /** * The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, * `OnVault`. * @param backupType backupType or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setBackupType(java.lang.String backupType) { this.backupType = backupType; return this; } /** * The name of a Backup and DR host, which is managed by the backup and recovery appliance and * known to the management console. The host can be of type Generic (for example, Compute Engine, * SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and * DR documentation on hosts](https://cloud.google.com/backup-disaster- * recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For * example, `centos7-01`. * @return value or {@code null} for none */ public java.lang.String getHost() { return host; } /** * The name of a Backup and DR host, which is managed by the backup and recovery appliance and * known to the management console. The host can be of type Generic (for example, Compute Engine, * SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and * DR documentation on hosts](https://cloud.google.com/backup-disaster- * recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For * example, `centos7-01`. * @param host host or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setHost(java.lang.String host) { this.host = host; return this; } /** * The names of Backup and DR policies that are associated with a template and that define when to * run a backup, how frequently to run a backup, and how long to retain the backup image. For * example, `onvaults`. * @return value or {@code null} for none */ public java.util.List getPolicies() { return policies; } /** * The names of Backup and DR policies that are associated with a template and that define when to * run a backup, how frequently to run a backup, and how long to retain the backup image. For * example, `onvaults`. * @param policies policies or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setPolicies(java.util.List policies) { this.policies = policies; return this; } /** * The names of Backup and DR advanced policy options of a policy applying to an application. See * the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster- * recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`. * @return value or {@code null} for none */ public java.util.List getPolicyOptions() { return policyOptions; } /** * The names of Backup and DR advanced policy options of a policy applying to an application. See * the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster- * recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`. * @param policyOptions policyOptions or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setPolicyOptions(java.util.List policyOptions) { this.policyOptions = policyOptions; return this; } /** * The name of the Backup and DR resource profile that specifies the storage media for backups of * application and VM data. See the [Backup and DR documentation on * profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). * For example, `GCP`. * @return value or {@code null} for none */ public java.lang.String getProfile() { return profile; } /** * The name of the Backup and DR resource profile that specifies the storage media for backups of * application and VM data. See the [Backup and DR documentation on * profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). * For example, `GCP`. * @param profile profile or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setProfile(java.lang.String profile) { this.profile = profile; return this; } /** * The name of the Backup and DR storage pool that the backup and recovery appliance is storing * data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the * [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster- * recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`. * @return value or {@code null} for none */ public java.lang.String getStoragePool() { return storagePool; } /** * The name of the Backup and DR storage pool that the backup and recovery appliance is storing * data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the * [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster- * recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`. * @param storagePool storagePool or {@code null} for none */ public GoogleCloudSecuritycenterV2BackupDisasterRecovery setStoragePool(java.lang.String storagePool) { this.storagePool = storagePool; return this; } @Override public GoogleCloudSecuritycenterV2BackupDisasterRecovery set(String fieldName, Object value) { return (GoogleCloudSecuritycenterV2BackupDisasterRecovery) super.set(fieldName, value); } @Override public GoogleCloudSecuritycenterV2BackupDisasterRecovery clone() { return (GoogleCloudSecuritycenterV2BackupDisasterRecovery) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy