Share via


StoreReadSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.StoreReadSettings

Implements

public class StoreReadSettings
implements JsonSerializable<StoreReadSettings>

Connector read setting.

Constructor Summary

Constructor Description
StoreReadSettings()

Creates an instance of StoreReadSettings class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: Connector read setting.

Object disableMetricsCollection()

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

static StoreReadSettings fromJson(JsonReader jsonReader)

Reads an instance of StoreReadSettings from the JsonReader.

Object maxConcurrentConnections()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The read setting type.

StoreReadSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Connector read setting.

StoreReadSettings withDisableMetricsCollection(Object disableMetricsCollection)

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

StoreReadSettings withMaxConcurrentConnections(Object maxConcurrentConnections)

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

Methods inherited from java.lang.Object

Constructor Details

StoreReadSettings

public StoreReadSettings()

Creates an instance of StoreReadSettings class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Connector read setting.

Returns:

the additionalProperties value.

disableMetricsCollection

public Object disableMetricsCollection()

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

Returns:

the disableMetricsCollection value.

fromJson

public static StoreReadSettings fromJson(JsonReader jsonReader)

Reads an instance of StoreReadSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StoreReadSettings 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 StoreReadSettings.

maxConcurrentConnections

public Object maxConcurrentConnections()

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

Returns:

the maxConcurrentConnections value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The read setting type.

Returns:

the type value.

withAdditionalProperties

public StoreReadSettings withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Connector read setting.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the StoreReadSettings object itself.

withDisableMetricsCollection

public StoreReadSettings withDisableMetricsCollection(Object disableMetricsCollection)

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

Parameters:

disableMetricsCollection - the disableMetricsCollection value to set.

Returns:

the StoreReadSettings object itself.

withMaxConcurrentConnections

public StoreReadSettings withMaxConcurrentConnections(Object maxConcurrentConnections)

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

Parameters:

maxConcurrentConnections - the maxConcurrentConnections value to set.

Returns:

the StoreReadSettings object itself.

Applies to