com.google.api.services.datamigration.v1.model.OracleAsmConfig 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;
/**
* Configuration for Oracle Automatic Storage Management (ASM) connection.
*
* 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 OracleAsmConfig extends com.google.api.client.json.GenericJson {
/**
* Required. ASM service name for the Oracle ASM connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String asmService;
/**
* Required. Hostname for the Oracle ASM connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String hostname;
/**
* Required. Input only. Password for the Oracle ASM connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String password;
/**
* Output only. Indicates whether a new password is included in the request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean passwordSet;
/**
* Required. Port for the Oracle ASM connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer port;
/**
* Optional. SSL configuration for the Oracle connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private SslConfig ssl;
/**
* Required. Username for the Oracle ASM connection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String username;
/**
* Required. ASM service name for the Oracle ASM connection.
* @return value or {@code null} for none
*/
public java.lang.String getAsmService() {
return asmService;
}
/**
* Required. ASM service name for the Oracle ASM connection.
* @param asmService asmService or {@code null} for none
*/
public OracleAsmConfig setAsmService(java.lang.String asmService) {
this.asmService = asmService;
return this;
}
/**
* Required. Hostname for the Oracle ASM connection.
* @return value or {@code null} for none
*/
public java.lang.String getHostname() {
return hostname;
}
/**
* Required. Hostname for the Oracle ASM connection.
* @param hostname hostname or {@code null} for none
*/
public OracleAsmConfig setHostname(java.lang.String hostname) {
this.hostname = hostname;
return this;
}
/**
* Required. Input only. Password for the Oracle ASM connection.
* @return value or {@code null} for none
*/
public java.lang.String getPassword() {
return password;
}
/**
* Required. Input only. Password for the Oracle ASM connection.
* @param password password or {@code null} for none
*/
public OracleAsmConfig setPassword(java.lang.String password) {
this.password = password;
return this;
}
/**
* Output only. Indicates whether a new password is included in the request.
* @return value or {@code null} for none
*/
public java.lang.Boolean getPasswordSet() {
return passwordSet;
}
/**
* Output only. Indicates whether a new password is included in the request.
* @param passwordSet passwordSet or {@code null} for none
*/
public OracleAsmConfig setPasswordSet(java.lang.Boolean passwordSet) {
this.passwordSet = passwordSet;
return this;
}
/**
* Required. Port for the Oracle ASM connection.
* @return value or {@code null} for none
*/
public java.lang.Integer getPort() {
return port;
}
/**
* Required. Port for the Oracle ASM connection.
* @param port port or {@code null} for none
*/
public OracleAsmConfig setPort(java.lang.Integer port) {
this.port = port;
return this;
}
/**
* Optional. SSL configuration for the Oracle connection.
* @return value or {@code null} for none
*/
public SslConfig getSsl() {
return ssl;
}
/**
* Optional. SSL configuration for the Oracle connection.
* @param ssl ssl or {@code null} for none
*/
public OracleAsmConfig setSsl(SslConfig ssl) {
this.ssl = ssl;
return this;
}
/**
* Required. Username for the Oracle ASM connection.
* @return value or {@code null} for none
*/
public java.lang.String getUsername() {
return username;
}
/**
* Required. Username for the Oracle ASM connection.
* @param username username or {@code null} for none
*/
public OracleAsmConfig setUsername(java.lang.String username) {
this.username = username;
return this;
}
@Override
public OracleAsmConfig set(String fieldName, Object value) {
return (OracleAsmConfig) super.set(fieldName, value);
}
@Override
public OracleAsmConfig clone() {
return (OracleAsmConfig) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy