com.google.api.services.datamigration.v1.model.OracleSourceConfig 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 as a source in a migration.
*
* 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 OracleSourceConfig extends com.google.api.client.json.GenericJson {
/**
* Use Binary Log Parser.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private BinaryLogParser binaryLogParser;
/**
* Optional. The schema change number (SCN) to start CDC data migration from.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long cdcStartPosition;
/**
* Use LogMiner.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private LogMiner logMiner;
/**
* Optional. Maximum number of connections Database Migration Service will open to the source for
* CDC phase.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxConcurrentCdcConnections;
/**
* Optional. Maximum number of connections Database Migration Service will open to the source for
* full dump phase.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxConcurrentFullDumpConnections;
/**
* Optional. Whether to skip full dump or not.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean skipFullDump;
/**
* Use Binary Log Parser.
* @return value or {@code null} for none
*/
public BinaryLogParser getBinaryLogParser() {
return binaryLogParser;
}
/**
* Use Binary Log Parser.
* @param binaryLogParser binaryLogParser or {@code null} for none
*/
public OracleSourceConfig setBinaryLogParser(BinaryLogParser binaryLogParser) {
this.binaryLogParser = binaryLogParser;
return this;
}
/**
* Optional. The schema change number (SCN) to start CDC data migration from.
* @return value or {@code null} for none
*/
public java.lang.Long getCdcStartPosition() {
return cdcStartPosition;
}
/**
* Optional. The schema change number (SCN) to start CDC data migration from.
* @param cdcStartPosition cdcStartPosition or {@code null} for none
*/
public OracleSourceConfig setCdcStartPosition(java.lang.Long cdcStartPosition) {
this.cdcStartPosition = cdcStartPosition;
return this;
}
/**
* Use LogMiner.
* @return value or {@code null} for none
*/
public LogMiner getLogMiner() {
return logMiner;
}
/**
* Use LogMiner.
* @param logMiner logMiner or {@code null} for none
*/
public OracleSourceConfig setLogMiner(LogMiner logMiner) {
this.logMiner = logMiner;
return this;
}
/**
* Optional. Maximum number of connections Database Migration Service will open to the source for
* CDC phase.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxConcurrentCdcConnections() {
return maxConcurrentCdcConnections;
}
/**
* Optional. Maximum number of connections Database Migration Service will open to the source for
* CDC phase.
* @param maxConcurrentCdcConnections maxConcurrentCdcConnections or {@code null} for none
*/
public OracleSourceConfig setMaxConcurrentCdcConnections(java.lang.Integer maxConcurrentCdcConnections) {
this.maxConcurrentCdcConnections = maxConcurrentCdcConnections;
return this;
}
/**
* Optional. Maximum number of connections Database Migration Service will open to the source for
* full dump phase.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxConcurrentFullDumpConnections() {
return maxConcurrentFullDumpConnections;
}
/**
* Optional. Maximum number of connections Database Migration Service will open to the source for
* full dump phase.
* @param maxConcurrentFullDumpConnections maxConcurrentFullDumpConnections or {@code null} for none
*/
public OracleSourceConfig setMaxConcurrentFullDumpConnections(java.lang.Integer maxConcurrentFullDumpConnections) {
this.maxConcurrentFullDumpConnections = maxConcurrentFullDumpConnections;
return this;
}
/**
* Optional. Whether to skip full dump or not.
* @return value or {@code null} for none
*/
public java.lang.Boolean getSkipFullDump() {
return skipFullDump;
}
/**
* Optional. Whether to skip full dump or not.
* @param skipFullDump skipFullDump or {@code null} for none
*/
public OracleSourceConfig setSkipFullDump(java.lang.Boolean skipFullDump) {
this.skipFullDump = skipFullDump;
return this;
}
@Override
public OracleSourceConfig set(String fieldName, Object value) {
return (OracleSourceConfig) super.set(fieldName, value);
}
@Override
public OracleSourceConfig clone() {
return (OracleSourceConfig) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy