OracleSink.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/** A copy activity Oracle sink. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("OracleSink")
@Fluent
public final class OracleSink extends CopySink {
/*
* SQL pre-copy script. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "preCopyScript")
private Object preCopyScript;
/**
* Get the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).
*
* @return the preCopyScript value.
*/
public Object getPreCopyScript() {
return this.preCopyScript;
}
/**
* Set the preCopyScript property: SQL pre-copy script. Type: string (or Expression with resultType string).
*
* @param preCopyScript the preCopyScript value to set.
* @return the OracleSink object itself.
*/
public OracleSink setPreCopyScript(Object preCopyScript) {
this.preCopyScript = preCopyScript;
return this;
}
}