JsonSource.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 Json source. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("JsonSource")
@Fluent
public final class JsonSource extends CopySource {
/*
* Json store settings.
*/
@JsonProperty(value = "storeSettings")
private StoreReadSettings storeSettings;
/*
* Json format settings.
*/
@JsonProperty(value = "formatSettings")
private JsonReadSettings formatSettings;
/*
* Specifies the additional columns to be added to source data. Type: array
* of objects(AdditionalColumns) (or Expression with resultType array of
* objects).
*/
@JsonProperty(value = "additionalColumns")
private Object additionalColumns;
/**
* Get the storeSettings property: Json store settings.
*
* @return the storeSettings value.
*/
public StoreReadSettings getStoreSettings() {
return this.storeSettings;
}
/**
* Set the storeSettings property: Json store settings.
*
* @param storeSettings the storeSettings value to set.
* @return the JsonSource object itself.
*/
public JsonSource setStoreSettings(StoreReadSettings storeSettings) {
this.storeSettings = storeSettings;
return this;
}
/**
* Get the formatSettings property: Json format settings.
*
* @return the formatSettings value.
*/
public JsonReadSettings getFormatSettings() {
return this.formatSettings;
}
/**
* Set the formatSettings property: Json format settings.
*
* @param formatSettings the formatSettings value to set.
* @return the JsonSource object itself.
*/
public JsonSource setFormatSettings(JsonReadSettings formatSettings) {
this.formatSettings = formatSettings;
return this;
}
/**
* Get the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of
* objects(AdditionalColumns) (or Expression with resultType array of objects).
*
* @return the additionalColumns value.
*/
public Object getAdditionalColumns() {
return this.additionalColumns;
}
/**
* Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of
* objects(AdditionalColumns) (or Expression with resultType array of objects).
*
* @param additionalColumns the additionalColumns value to set.
* @return the JsonSource object itself.
*/
public JsonSource setAdditionalColumns(Object additionalColumns) {
this.additionalColumns = additionalColumns;
return this;
}
}