DetectorResponseInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. DetectorResponseInner
- com.
- com.
- com.
public final class DetectorResponseInner
extends ProxyOnlyResource
Class representing Response from Detector.
Constructor Summary
Constructor | Description |
---|---|
DetectorResponseInner() |
Creates an instance of Detector |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Data |
dataProvidersMetadata()
Get the data |
List<Diagnostic |
dataset()
Get the dataset property: Data Set. |
static
Detector |
fromJson(JsonReader jsonReader)
Reads an instance of Detector |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Detector |
metadata()
Get the metadata property: metadata for the detector. |
String |
name()
Get the name property: The name of the resource. |
Status |
status()
Get the status property: Indicates status of the most severe insight. |
Query |
suggestedUtterances()
Get the suggested |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Detector |
withDataProvidersMetadata(List<DataProviderMetadata> dataProvidersMetadata)
Set the data |
Detector |
withDataset(List<DiagnosticData> dataset)
Set the dataset property: Data Set. |
Detector |
withKind(String kind)
Set the kind property: Kind of resource. |
Detector |
withMetadata(DetectorInfo metadata)
Set the metadata property: metadata for the detector. |
Detector |
withStatus(Status status)
Set the status property: Indicates status of the most severe insight. |
Detector |
withSuggestedUtterances(QueryUtterancesResults suggestedUtterances)
Set the suggested |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
DetectorResponseInner
public DetectorResponseInner()
Creates an instance of DetectorResponseInner class.
Method Details
dataProvidersMetadata
public List
Get the dataProvidersMetadata property: Additional configuration for different data providers to be used by the UI.
Returns:
dataset
public List
Get the dataset property: Data Set.
Returns:
fromJson
public static DetectorResponseInner fromJson(JsonReader jsonReader)
Reads an instance of DetectorResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DetectorResponseInner.id()Returns:
metadata
public DetectorInfo metadata()
Get the metadata property: metadata for the detector.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DetectorResponseInner.name()Returns:
status
public Status status()
Get the status property: Indicates status of the most severe insight.
Returns:
suggestedUtterances
public QueryUtterancesResults suggestedUtterances()
Get the suggestedUtterances property: Suggested utterances where the detector can be applicable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DetectorResponseInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DetectorResponseInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DetectorResponseInner.validate()withDataProvidersMetadata
public DetectorResponseInner withDataProvidersMetadata(List
Set the dataProvidersMetadata property: Additional configuration for different data providers to be used by the UI.
Parameters:
Returns:
withDataset
public DetectorResponseInner withDataset(List
Set the dataset property: Data Set.
Parameters:
Returns:
withKind
public DetectorResponseInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
DetectorResponseInner.withKind(String kind)Parameters:
withMetadata
public DetectorResponseInner withMetadata(DetectorInfo metadata)
Set the metadata property: metadata for the detector.
Parameters:
Returns:
withStatus
public DetectorResponseInner withStatus(Status status)
Set the status property: Indicates status of the most severe insight.
Parameters:
Returns:
withSuggestedUtterances
public DetectorResponseInner withSuggestedUtterances(QueryUtterancesResults suggestedUtterances)
Set the suggestedUtterances property: Suggested utterances where the detector can be applicable.
Parameters:
Returns:
Applies to
Azure SDK for Java