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

com.google.api.services.datamigration.v1.model.GenerateTcpProxyScriptRequest Maven / Gradle / Ivy

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

/**
 * Request message for 'GenerateTcpProxyScript' request.
 *
 * 

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 Database Migration 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 GenerateTcpProxyScriptRequest extends com.google.api.client.json.GenericJson { /** * Required. The type of the Compute instance that will host the proxy. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vmMachineType; /** * Required. The name of the Compute instance that will host the proxy. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vmName; /** * Required. The name of the subnet the Compute instance will use for private connectivity. Must * be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: * the region for the subnet must match the Compute instance region. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vmSubnet; /** * Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the * zone must be specified, including the region name, for example "us-central1-b". If not * specified, uses the "-b" zone of the destination Connection Profile's region. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vmZone; /** * Required. The type of the Compute instance that will host the proxy. * @return value or {@code null} for none */ public java.lang.String getVmMachineType() { return vmMachineType; } /** * Required. The type of the Compute instance that will host the proxy. * @param vmMachineType vmMachineType or {@code null} for none */ public GenerateTcpProxyScriptRequest setVmMachineType(java.lang.String vmMachineType) { this.vmMachineType = vmMachineType; return this; } /** * Required. The name of the Compute instance that will host the proxy. * @return value or {@code null} for none */ public java.lang.String getVmName() { return vmName; } /** * Required. The name of the Compute instance that will host the proxy. * @param vmName vmName or {@code null} for none */ public GenerateTcpProxyScriptRequest setVmName(java.lang.String vmName) { this.vmName = vmName; return this; } /** * Required. The name of the subnet the Compute instance will use for private connectivity. Must * be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: * the region for the subnet must match the Compute instance region. * @return value or {@code null} for none */ public java.lang.String getVmSubnet() { return vmSubnet; } /** * Required. The name of the subnet the Compute instance will use for private connectivity. Must * be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: * the region for the subnet must match the Compute instance region. * @param vmSubnet vmSubnet or {@code null} for none */ public GenerateTcpProxyScriptRequest setVmSubnet(java.lang.String vmSubnet) { this.vmSubnet = vmSubnet; return this; } /** * Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the * zone must be specified, including the region name, for example "us-central1-b". If not * specified, uses the "-b" zone of the destination Connection Profile's region. * @return value or {@code null} for none */ public java.lang.String getVmZone() { return vmZone; } /** * Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the * zone must be specified, including the region name, for example "us-central1-b". If not * specified, uses the "-b" zone of the destination Connection Profile's region. * @param vmZone vmZone or {@code null} for none */ public GenerateTcpProxyScriptRequest setVmZone(java.lang.String vmZone) { this.vmZone = vmZone; return this; } @Override public GenerateTcpProxyScriptRequest set(String fieldName, Object value) { return (GenerateTcpProxyScriptRequest) super.set(fieldName, value); } @Override public GenerateTcpProxyScriptRequest clone() { return (GenerateTcpProxyScriptRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy