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

com.google.api.services.backupdr.v1.model.ComputeInstanceDataSourceProperties Maven / Gradle / Ivy

There is a newer version: v1-rev20241030-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.backupdr.v1.model;

/**
 * ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that
 * are stored in the DataSource.
 *
 * 

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 Backup and DR Service 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 ComputeInstanceDataSourceProperties extends com.google.api.client.json.GenericJson { /** * The description of the Compute Engine instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * The machine type of the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String machineType; /** * Name of the compute instance backed up by the datasource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * The total number of disks attached to the Instance. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long totalDiskCount; /** * The sum of all the disk sizes. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long totalDiskSizeGb; /** * The description of the Compute Engine instance. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * The description of the Compute Engine instance. * @param description description or {@code null} for none */ public ComputeInstanceDataSourceProperties setDescription(java.lang.String description) { this.description = description; return this; } /** * The machine type of the instance. * @return value or {@code null} for none */ public java.lang.String getMachineType() { return machineType; } /** * The machine type of the instance. * @param machineType machineType or {@code null} for none */ public ComputeInstanceDataSourceProperties setMachineType(java.lang.String machineType) { this.machineType = machineType; return this; } /** * Name of the compute instance backed up by the datasource. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Name of the compute instance backed up by the datasource. * @param name name or {@code null} for none */ public ComputeInstanceDataSourceProperties setName(java.lang.String name) { this.name = name; return this; } /** * The total number of disks attached to the Instance. * @return value or {@code null} for none */ public java.lang.Long getTotalDiskCount() { return totalDiskCount; } /** * The total number of disks attached to the Instance. * @param totalDiskCount totalDiskCount or {@code null} for none */ public ComputeInstanceDataSourceProperties setTotalDiskCount(java.lang.Long totalDiskCount) { this.totalDiskCount = totalDiskCount; return this; } /** * The sum of all the disk sizes. * @return value or {@code null} for none */ public java.lang.Long getTotalDiskSizeGb() { return totalDiskSizeGb; } /** * The sum of all the disk sizes. * @param totalDiskSizeGb totalDiskSizeGb or {@code null} for none */ public ComputeInstanceDataSourceProperties setTotalDiskSizeGb(java.lang.Long totalDiskSizeGb) { this.totalDiskSizeGb = totalDiskSizeGb; return this; } @Override public ComputeInstanceDataSourceProperties set(String fieldName, Object value) { return (ComputeInstanceDataSourceProperties) super.set(fieldName, value); } @Override public ComputeInstanceDataSourceProperties clone() { return (ComputeInstanceDataSourceProperties) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy