com.google.api.services.datamigration.v1.model.AlloyDbConnectionProfile Maven / Gradle / Ivy
/*
* 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;
/**
* Specifies required connection parameters, and the parameters required to create an AlloyDB
* destination cluster.
*
* 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 AlloyDbConnectionProfile extends com.google.api.client.json.GenericJson {
/**
* Required. The AlloyDB cluster ID that this connection profile is associated with.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String clusterId;
/**
* Immutable. Metadata used to create the destination AlloyDB cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AlloyDbSettings settings;
/**
* Required. The AlloyDB cluster ID that this connection profile is associated with.
* @return value or {@code null} for none
*/
public java.lang.String getClusterId() {
return clusterId;
}
/**
* Required. The AlloyDB cluster ID that this connection profile is associated with.
* @param clusterId clusterId or {@code null} for none
*/
public AlloyDbConnectionProfile setClusterId(java.lang.String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* Immutable. Metadata used to create the destination AlloyDB cluster.
* @return value or {@code null} for none
*/
public AlloyDbSettings getSettings() {
return settings;
}
/**
* Immutable. Metadata used to create the destination AlloyDB cluster.
* @param settings settings or {@code null} for none
*/
public AlloyDbConnectionProfile setSettings(AlloyDbSettings settings) {
this.settings = settings;
return this;
}
@Override
public AlloyDbConnectionProfile set(String fieldName, Object value) {
return (AlloyDbConnectionProfile) super.set(fieldName, value);
}
@Override
public AlloyDbConnectionProfile clone() {
return (AlloyDbConnectionProfile) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy