DataSourcePrecedence Class
- java.
lang. Object - com.
azure. resourcemanager. customerinsights. models. DataSourcePrecedence
- com.
Implements
public final class DataSourcePrecedence
implements JsonSerializable<DataSourcePrecedence>
The data source precedence is a way to know the precedence of each data source.
Constructor Summary
| Constructor | Description |
|---|---|
| DataSourcePrecedence() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
dataSourceReferenceId()
Get the data |
|
Data |
dataSourceType()
Get the data |
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
| Integer |
id()
Get the id property: The data source ID. |
| String |
name()
Get the name property: The data source name. |
| Integer |
precedence()
Get the precedence property: the precedence value. |
| Status |
status()
Get the status property: The data source status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Data |
withPrecedence(Integer precedence)
Set the precedence property: the precedence value. |
Methods inherited from java.lang.Object
Constructor Details
DataSourcePrecedence
public DataSourcePrecedence()
Creates an instance of DataSourcePrecedence class.
Method Details
dataSourceReferenceId
public String dataSourceReferenceId()
Get the dataSourceReferenceId property: The data source reference id.
Returns:
dataSourceType
public DataSourceType dataSourceType()
Get the dataSourceType property: The data source type.
Returns:
fromJson
public static DataSourcePrecedence fromJson(JsonReader jsonReader)
Reads an instance of DataSourcePrecedence from the JsonReader.
Parameters:
Returns:
Throws:
id
public Integer id()
Get the id property: The data source ID.
Returns:
name
public String name()
Get the name property: The data source name.
Returns:
precedence
public Integer precedence()
Get the precedence property: the precedence value.
Returns:
status
public Status status()
Get the status property: The data source status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrecedence
public DataSourcePrecedence withPrecedence(Integer precedence)
Set the precedence property: the precedence value.
Parameters:
Returns: