QuickBooksSource Class

public final class QuickBooksSource
extends TabularSource

A copy activity QuickBooks server source.

Constructor Summary

Constructor Description
QuickBooksSource()

Creates an instance of QuickBooksSource class.

Method Summary

Modifier and Type Method and Description
static QuickBooksSource fromJson(JsonReader jsonReader)

Reads an instance of QuickBooksSource from the JsonReader.

Object query()

Get the query property: A query to retrieve data from source.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Copy source type.

void validate()

Validates the instance.

QuickBooksSource withAdditionalColumns(Object additionalColumns)

Set the additionalColumns property: Specifies the additional columns to be added to source data.

QuickBooksSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection.

QuickBooksSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.

QuickBooksSource withQuery(Object query)

Set the query property: A query to retrieve data from source.

QuickBooksSource withQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout.

QuickBooksSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

QuickBooksSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

Methods inherited from CopySource

Methods inherited from TabularSource

Methods inherited from java.lang.Object

Constructor Details

QuickBooksSource

public QuickBooksSource()

Creates an instance of QuickBooksSource class.

Method Details

fromJson

public static QuickBooksSource fromJson(JsonReader jsonReader)

Reads an instance of QuickBooksSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QuickBooksSource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the QuickBooksSource.

query

public Object query()

Get the query property: A query to retrieve data from source. Type: string (or Expression with resultType string).

Returns:

the query value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

QuickBooksSource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Copy source type.

Overrides:

QuickBooksSource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

QuickBooksSource.validate()

withAdditionalColumns

public QuickBooksSource withAdditionalColumns(Object 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).

Overrides:

QuickBooksSource.withAdditionalColumns(Object additionalColumns)

Parameters:

additionalColumns

withDisableMetricsCollection

public QuickBooksSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).

Overrides:

QuickBooksSource.withDisableMetricsCollection(Object disableMetricsCollection)

Parameters:

disableMetricsCollection

withMaxConcurrentConnections

public QuickBooksSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).

Overrides:

QuickBooksSource.withMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

withQuery

public QuickBooksSource withQuery(Object query)

Set the query property: A query to retrieve data from source. Type: string (or Expression with resultType string).

Parameters:

query - the query value to set.

Returns:

the QuickBooksSource object itself.

withQueryTimeout

public QuickBooksSource withQueryTimeout(Object queryTimeout)

Set the queryTimeout property: Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Overrides:

QuickBooksSource.withQueryTimeout(Object queryTimeout)

Parameters:

queryTimeout

withSourceRetryCount

public QuickBooksSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).

Overrides:

QuickBooksSource.withSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

withSourceRetryWait

public QuickBooksSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Overrides:

QuickBooksSource.withSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

Applies to