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

com.google.api.services.datamigration.v1.model.PrimaryInstanceSettings 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;

/**
 * Settings for the cluster's primary instance
 *
 * 

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 PrimaryInstanceSettings extends com.google.api.client.json.GenericJson { /** * Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See * the AlloyDB documentation for how these can be used. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map databaseFlags; /** * Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression * "[a-z0-9-]+". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * Optional. Metadata related to instance level network configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key private InstanceNetworkConfig instanceNetworkConfig; /** * Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', * 'value' pairs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Configuration for the machines that host the underlying database engine. * The value may be {@code null}. */ @com.google.api.client.util.Key private MachineConfig machineConfig; /** * Output only. All outbound public IP addresses configured for the instance. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List outboundPublicIpAddresses; /** * Output only. The private IP address for the Instance. This is the connection endpoint for an * end-user application. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String privateIp; /** * Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See * the AlloyDB documentation for how these can be used. * @return value or {@code null} for none */ public java.util.Map getDatabaseFlags() { return databaseFlags; } /** * Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See * the AlloyDB documentation for how these can be used. * @param databaseFlags databaseFlags or {@code null} for none */ public PrimaryInstanceSettings setDatabaseFlags(java.util.Map databaseFlags) { this.databaseFlags = databaseFlags; return this; } /** * Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression * "[a-z0-9-]+". * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression * "[a-z0-9-]+". * @param id id or {@code null} for none */ public PrimaryInstanceSettings setId(java.lang.String id) { this.id = id; return this; } /** * Optional. Metadata related to instance level network configuration. * @return value or {@code null} for none */ public InstanceNetworkConfig getInstanceNetworkConfig() { return instanceNetworkConfig; } /** * Optional. Metadata related to instance level network configuration. * @param instanceNetworkConfig instanceNetworkConfig or {@code null} for none */ public PrimaryInstanceSettings setInstanceNetworkConfig(InstanceNetworkConfig instanceNetworkConfig) { this.instanceNetworkConfig = instanceNetworkConfig; return this; } /** * Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', * 'value' pairs. * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', * 'value' pairs. * @param labels labels or {@code null} for none */ public PrimaryInstanceSettings setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Configuration for the machines that host the underlying database engine. * @return value or {@code null} for none */ public MachineConfig getMachineConfig() { return machineConfig; } /** * Configuration for the machines that host the underlying database engine. * @param machineConfig machineConfig or {@code null} for none */ public PrimaryInstanceSettings setMachineConfig(MachineConfig machineConfig) { this.machineConfig = machineConfig; return this; } /** * Output only. All outbound public IP addresses configured for the instance. * @return value or {@code null} for none */ public java.util.List getOutboundPublicIpAddresses() { return outboundPublicIpAddresses; } /** * Output only. All outbound public IP addresses configured for the instance. * @param outboundPublicIpAddresses outboundPublicIpAddresses or {@code null} for none */ public PrimaryInstanceSettings setOutboundPublicIpAddresses(java.util.List outboundPublicIpAddresses) { this.outboundPublicIpAddresses = outboundPublicIpAddresses; return this; } /** * Output only. The private IP address for the Instance. This is the connection endpoint for an * end-user application. * @return value or {@code null} for none */ public java.lang.String getPrivateIp() { return privateIp; } /** * Output only. The private IP address for the Instance. This is the connection endpoint for an * end-user application. * @param privateIp privateIp or {@code null} for none */ public PrimaryInstanceSettings setPrivateIp(java.lang.String privateIp) { this.privateIp = privateIp; return this; } @Override public PrimaryInstanceSettings set(String fieldName, Object value) { return (PrimaryInstanceSettings) super.set(fieldName, value); } @Override public PrimaryInstanceSettings clone() { return (PrimaryInstanceSettings) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy