
com.google.api.services.datastream.v1.model.OracleProfile 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.datastream.v1.model;
/**
* Oracle database profile. Next ID: 10.
*
* 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 Datastream 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 OracleProfile extends com.google.api.client.json.GenericJson {
/**
* Connection string attributes
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map connectionAttributes;
/**
* Required. Database for the Oracle connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String databaseService;
/**
* Required. Hostname for the Oracle connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String hostname;
/**
* Optional. Configuration for Oracle ASM connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private OracleAsmConfig oracleAsmConfig;
/**
* Optional. SSL configuration for the Oracle connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private OracleSslConfig oracleSslConfig;
/**
* Optional. Password for the Oracle connection. Mutually exclusive with the
* `secret_manager_stored_password` field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String password;
/**
* Port for the Oracle connection, default value is 1521.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer port;
/**
* Optional. A reference to a Secret Manager resource name storing the Oracle connection password.
* Mutually exclusive with the `password` field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String secretManagerStoredPassword;
/**
* Required. Username for the Oracle connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String username;
/**
* Connection string attributes
* @return value or {@code null} for none
*/
public java.util.Map getConnectionAttributes() {
return connectionAttributes;
}
/**
* Connection string attributes
* @param connectionAttributes connectionAttributes or {@code null} for none
*/
public OracleProfile setConnectionAttributes(java.util.Map connectionAttributes) {
this.connectionAttributes = connectionAttributes;
return this;
}
/**
* Required. Database for the Oracle connection.
* @return value or {@code null} for none
*/
public java.lang.String getDatabaseService() {
return databaseService;
}
/**
* Required. Database for the Oracle connection.
* @param databaseService databaseService or {@code null} for none
*/
public OracleProfile setDatabaseService(java.lang.String databaseService) {
this.databaseService = databaseService;
return this;
}
/**
* Required. Hostname for the Oracle connection.
* @return value or {@code null} for none
*/
public java.lang.String getHostname() {
return hostname;
}
/**
* Required. Hostname for the Oracle connection.
* @param hostname hostname or {@code null} for none
*/
public OracleProfile setHostname(java.lang.String hostname) {
this.hostname = hostname;
return this;
}
/**
* Optional. Configuration for Oracle ASM connection.
* @return value or {@code null} for none
*/
public OracleAsmConfig getOracleAsmConfig() {
return oracleAsmConfig;
}
/**
* Optional. Configuration for Oracle ASM connection.
* @param oracleAsmConfig oracleAsmConfig or {@code null} for none
*/
public OracleProfile setOracleAsmConfig(OracleAsmConfig oracleAsmConfig) {
this.oracleAsmConfig = oracleAsmConfig;
return this;
}
/**
* Optional. SSL configuration for the Oracle connection.
* @return value or {@code null} for none
*/
public OracleSslConfig getOracleSslConfig() {
return oracleSslConfig;
}
/**
* Optional. SSL configuration for the Oracle connection.
* @param oracleSslConfig oracleSslConfig or {@code null} for none
*/
public OracleProfile setOracleSslConfig(OracleSslConfig oracleSslConfig) {
this.oracleSslConfig = oracleSslConfig;
return this;
}
/**
* Optional. Password for the Oracle connection. Mutually exclusive with the
* `secret_manager_stored_password` field.
* @return value or {@code null} for none
*/
public java.lang.String getPassword() {
return password;
}
/**
* Optional. Password for the Oracle connection. Mutually exclusive with the
* `secret_manager_stored_password` field.
* @param password password or {@code null} for none
*/
public OracleProfile setPassword(java.lang.String password) {
this.password = password;
return this;
}
/**
* Port for the Oracle connection, default value is 1521.
* @return value or {@code null} for none
*/
public java.lang.Integer getPort() {
return port;
}
/**
* Port for the Oracle connection, default value is 1521.
* @param port port or {@code null} for none
*/
public OracleProfile setPort(java.lang.Integer port) {
this.port = port;
return this;
}
/**
* Optional. A reference to a Secret Manager resource name storing the Oracle connection password.
* Mutually exclusive with the `password` field.
* @return value or {@code null} for none
*/
public java.lang.String getSecretManagerStoredPassword() {
return secretManagerStoredPassword;
}
/**
* Optional. A reference to a Secret Manager resource name storing the Oracle connection password.
* Mutually exclusive with the `password` field.
* @param secretManagerStoredPassword secretManagerStoredPassword or {@code null} for none
*/
public OracleProfile setSecretManagerStoredPassword(java.lang.String secretManagerStoredPassword) {
this.secretManagerStoredPassword = secretManagerStoredPassword;
return this;
}
/**
* Required. Username for the Oracle connection.
* @return value or {@code null} for none
*/
public java.lang.String getUsername() {
return username;
}
/**
* Required. Username for the Oracle connection.
* @param username username or {@code null} for none
*/
public OracleProfile setUsername(java.lang.String username) {
this.username = username;
return this;
}
@Override
public OracleProfile set(String fieldName, Object value) {
return (OracleProfile) super.set(fieldName, value);
}
@Override
public OracleProfile clone() {
return (OracleProfile) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy