
com.google.api.services.datastream.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.datastream.v1.model;
/**
* Oracle data source configuration
*
* 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 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;
/**
* Drop large object values.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DropLargeObjects dropLargeObjects;
/**
* Oracle objects to exclude from the stream.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private OracleRdbms excludeObjects;
/**
* Oracle objects to include in the stream.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private OracleRdbms includeObjects;
/**
* Use LogMiner.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private LogMiner logMiner;
/**
* Maximum number of concurrent backfill tasks. The number should be non-negative. If not set (or
* set to 0), the system's default value is used.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxConcurrentBackfillTasks;
/**
* Maximum number of concurrent CDC tasks. The number should be non-negative. If not set (or set
* to 0), the system's default value is used.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer maxConcurrentCdcTasks;
/**
* Stream large object values.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private StreamLargeObjects streamLargeObjects;
/**
* 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;
}
/**
* Drop large object values.
* @return value or {@code null} for none
*/
public DropLargeObjects getDropLargeObjects() {
return dropLargeObjects;
}
/**
* Drop large object values.
* @param dropLargeObjects dropLargeObjects or {@code null} for none
*/
public OracleSourceConfig setDropLargeObjects(DropLargeObjects dropLargeObjects) {
this.dropLargeObjects = dropLargeObjects;
return this;
}
/**
* Oracle objects to exclude from the stream.
* @return value or {@code null} for none
*/
public OracleRdbms getExcludeObjects() {
return excludeObjects;
}
/**
* Oracle objects to exclude from the stream.
* @param excludeObjects excludeObjects or {@code null} for none
*/
public OracleSourceConfig setExcludeObjects(OracleRdbms excludeObjects) {
this.excludeObjects = excludeObjects;
return this;
}
/**
* Oracle objects to include in the stream.
* @return value or {@code null} for none
*/
public OracleRdbms getIncludeObjects() {
return includeObjects;
}
/**
* Oracle objects to include in the stream.
* @param includeObjects includeObjects or {@code null} for none
*/
public OracleSourceConfig setIncludeObjects(OracleRdbms includeObjects) {
this.includeObjects = includeObjects;
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;
}
/**
* Maximum number of concurrent backfill tasks. The number should be non-negative. If not set (or
* set to 0), the system's default value is used.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxConcurrentBackfillTasks() {
return maxConcurrentBackfillTasks;
}
/**
* Maximum number of concurrent backfill tasks. The number should be non-negative. If not set (or
* set to 0), the system's default value is used.
* @param maxConcurrentBackfillTasks maxConcurrentBackfillTasks or {@code null} for none
*/
public OracleSourceConfig setMaxConcurrentBackfillTasks(java.lang.Integer maxConcurrentBackfillTasks) {
this.maxConcurrentBackfillTasks = maxConcurrentBackfillTasks;
return this;
}
/**
* Maximum number of concurrent CDC tasks. The number should be non-negative. If not set (or set
* to 0), the system's default value is used.
* @return value or {@code null} for none
*/
public java.lang.Integer getMaxConcurrentCdcTasks() {
return maxConcurrentCdcTasks;
}
/**
* Maximum number of concurrent CDC tasks. The number should be non-negative. If not set (or set
* to 0), the system's default value is used.
* @param maxConcurrentCdcTasks maxConcurrentCdcTasks or {@code null} for none
*/
public OracleSourceConfig setMaxConcurrentCdcTasks(java.lang.Integer maxConcurrentCdcTasks) {
this.maxConcurrentCdcTasks = maxConcurrentCdcTasks;
return this;
}
/**
* Stream large object values.
* @return value or {@code null} for none
*/
public StreamLargeObjects getStreamLargeObjects() {
return streamLargeObjects;
}
/**
* Stream large object values.
* @param streamLargeObjects streamLargeObjects or {@code null} for none
*/
public OracleSourceConfig setStreamLargeObjects(StreamLargeObjects streamLargeObjects) {
this.streamLargeObjects = streamLargeObjects;
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 - 2025 Weber Informatics LLC | Privacy Policy