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

com.google.api.services.migrationcenter.v1.model.VirtualMachinePreferences Maven / Gradle / Ivy

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

/**
 * VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical
 * location and pricing track, for your migrated virtual machines. The set of preferences influence
 * recommendations for migrating virtual machine assets.
 *
 * 

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 Migration 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 VirtualMachinePreferences extends com.google.api.client.json.GenericJson { /** * Commitment plan to consider when calculating costs for virtual machine insights and * recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good * value to start with. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String commitmentPlan; /** * Compute Engine preferences concern insights and recommendations for Compute Engine target. * The value may be {@code null}. */ @com.google.api.client.util.Key private ComputeEnginePreferences computeEnginePreferences; /** * Region preferences for assets using this preference set. If you are unsure which value to set, * the migration service API region is often a good value to start with. * The value may be {@code null}. */ @com.google.api.client.util.Key private RegionPreferences regionPreferences; /** * Sizing optimization strategy specifies the preferred strategy used when extrapolating usage * data to calculate insights and recommendations for a virtual machine. If you are unsure which * value to set, a moderate sizing optimization strategy is often a good value to start with. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String sizingOptimizationStrategy; /** * Preferences concerning Sole Tenant nodes and virtual machines. * The value may be {@code null}. */ @com.google.api.client.util.Key private SoleTenancyPreferences soleTenancyPreferences; /** * Target product for assets using this preference set. Specify either target product or business * goal, but not both. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String targetProduct; /** * Preferences concerning insights and recommendations for Google Cloud VMware Engine. * The value may be {@code null}. */ @com.google.api.client.util.Key private VmwareEnginePreferences vmwareEnginePreferences; /** * Commitment plan to consider when calculating costs for virtual machine insights and * recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good * value to start with. * @return value or {@code null} for none */ public java.lang.String getCommitmentPlan() { return commitmentPlan; } /** * Commitment plan to consider when calculating costs for virtual machine insights and * recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good * value to start with. * @param commitmentPlan commitmentPlan or {@code null} for none */ public VirtualMachinePreferences setCommitmentPlan(java.lang.String commitmentPlan) { this.commitmentPlan = commitmentPlan; return this; } /** * Compute Engine preferences concern insights and recommendations for Compute Engine target. * @return value or {@code null} for none */ public ComputeEnginePreferences getComputeEnginePreferences() { return computeEnginePreferences; } /** * Compute Engine preferences concern insights and recommendations for Compute Engine target. * @param computeEnginePreferences computeEnginePreferences or {@code null} for none */ public VirtualMachinePreferences setComputeEnginePreferences(ComputeEnginePreferences computeEnginePreferences) { this.computeEnginePreferences = computeEnginePreferences; return this; } /** * Region preferences for assets using this preference set. If you are unsure which value to set, * the migration service API region is often a good value to start with. * @return value or {@code null} for none */ public RegionPreferences getRegionPreferences() { return regionPreferences; } /** * Region preferences for assets using this preference set. If you are unsure which value to set, * the migration service API region is often a good value to start with. * @param regionPreferences regionPreferences or {@code null} for none */ public VirtualMachinePreferences setRegionPreferences(RegionPreferences regionPreferences) { this.regionPreferences = regionPreferences; return this; } /** * Sizing optimization strategy specifies the preferred strategy used when extrapolating usage * data to calculate insights and recommendations for a virtual machine. If you are unsure which * value to set, a moderate sizing optimization strategy is often a good value to start with. * @return value or {@code null} for none */ public java.lang.String getSizingOptimizationStrategy() { return sizingOptimizationStrategy; } /** * Sizing optimization strategy specifies the preferred strategy used when extrapolating usage * data to calculate insights and recommendations for a virtual machine. If you are unsure which * value to set, a moderate sizing optimization strategy is often a good value to start with. * @param sizingOptimizationStrategy sizingOptimizationStrategy or {@code null} for none */ public VirtualMachinePreferences setSizingOptimizationStrategy(java.lang.String sizingOptimizationStrategy) { this.sizingOptimizationStrategy = sizingOptimizationStrategy; return this; } /** * Preferences concerning Sole Tenant nodes and virtual machines. * @return value or {@code null} for none */ public SoleTenancyPreferences getSoleTenancyPreferences() { return soleTenancyPreferences; } /** * Preferences concerning Sole Tenant nodes and virtual machines. * @param soleTenancyPreferences soleTenancyPreferences or {@code null} for none */ public VirtualMachinePreferences setSoleTenancyPreferences(SoleTenancyPreferences soleTenancyPreferences) { this.soleTenancyPreferences = soleTenancyPreferences; return this; } /** * Target product for assets using this preference set. Specify either target product or business * goal, but not both. * @return value or {@code null} for none */ public java.lang.String getTargetProduct() { return targetProduct; } /** * Target product for assets using this preference set. Specify either target product or business * goal, but not both. * @param targetProduct targetProduct or {@code null} for none */ public VirtualMachinePreferences setTargetProduct(java.lang.String targetProduct) { this.targetProduct = targetProduct; return this; } /** * Preferences concerning insights and recommendations for Google Cloud VMware Engine. * @return value or {@code null} for none */ public VmwareEnginePreferences getVmwareEnginePreferences() { return vmwareEnginePreferences; } /** * Preferences concerning insights and recommendations for Google Cloud VMware Engine. * @param vmwareEnginePreferences vmwareEnginePreferences or {@code null} for none */ public VirtualMachinePreferences setVmwareEnginePreferences(VmwareEnginePreferences vmwareEnginePreferences) { this.vmwareEnginePreferences = vmwareEnginePreferences; return this; } @Override public VirtualMachinePreferences set(String fieldName, Object value) { return (VirtualMachinePreferences) super.set(fieldName, value); } @Override public VirtualMachinePreferences clone() { return (VirtualMachinePreferences) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy