
com.google.api.services.genomics.model.ComputeEngine Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2016-05-27 16:00:31 UTC)
* on 2016-07-28 at 21:58:52 UTC
* Modify at your own risk.
*/
package com.google.api.services.genomics.model;
/**
* Describes a Compute Engine resource that is being managed by a running pipeline.
*
* 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 Genomics 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 ComputeEngine extends com.google.api.client.json.GenericJson {
/**
* The names of the disks that were created for this pipeline.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List diskNames;
/**
* The instance on which the operation is running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String instanceName;
/**
* The machine type of the instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String machineType;
/**
* The availability zone in which the instance resides.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String zone;
/**
* The names of the disks that were created for this pipeline.
* @return value or {@code null} for none
*/
public java.util.List getDiskNames() {
return diskNames;
}
/**
* The names of the disks that were created for this pipeline.
* @param diskNames diskNames or {@code null} for none
*/
public ComputeEngine setDiskNames(java.util.List diskNames) {
this.diskNames = diskNames;
return this;
}
/**
* The instance on which the operation is running.
* @return value or {@code null} for none
*/
public java.lang.String getInstanceName() {
return instanceName;
}
/**
* The instance on which the operation is running.
* @param instanceName instanceName or {@code null} for none
*/
public ComputeEngine setInstanceName(java.lang.String instanceName) {
this.instanceName = instanceName;
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 ComputeEngine setMachineType(java.lang.String machineType) {
this.machineType = machineType;
return this;
}
/**
* The availability zone in which the instance resides.
* @return value or {@code null} for none
*/
public java.lang.String getZone() {
return zone;
}
/**
* The availability zone in which the instance resides.
* @param zone zone or {@code null} for none
*/
public ComputeEngine setZone(java.lang.String zone) {
this.zone = zone;
return this;
}
@Override
public ComputeEngine set(String fieldName, Object value) {
return (ComputeEngine) super.set(fieldName, value);
}
@Override
public ComputeEngine clone() {
return (ComputeEngine) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy