Class DiagnosticsProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.models.DiagnosticsProperties
Diagnostics resource specific properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataProviderMetadata property: List of data providers' metadata.dataset()
Get the dataset property: Set of data collections associated with the response.metadata()
Get the metadata property: Metadata of the diagnostics response.status()
Get the status property: Status of the diagnostics response.void
validate()
Validates the instance.withDataProviderMetadata
(DiagnosticDataProviderMetadata dataProviderMetadata) Set the dataProviderMetadata property: List of data providers' metadata.withDataset
(List<DiagnosticsDataApiResponse> dataset) Set the dataset property: Set of data collections associated with the response.withMetadata
(DiagnosticsDefinition metadata) Set the metadata property: Metadata of the diagnostics response.withStatus
(DiagnosticsStatus status) Set the status property: Status of the diagnostics response.
-
Constructor Details
-
DiagnosticsProperties
public DiagnosticsProperties()Creates an instance of DiagnosticsProperties class.
-
-
Method Details
-
metadata
Get the metadata property: Metadata of the diagnostics response.- Returns:
- the metadata value.
-
withMetadata
Set the metadata property: Metadata of the diagnostics response.- Parameters:
metadata
- the metadata value to set.- Returns:
- the DiagnosticsProperties object itself.
-
dataset
Get the dataset property: Set of data collections associated with the response.- Returns:
- the dataset value.
-
withDataset
Set the dataset property: Set of data collections associated with the response.- Parameters:
dataset
- the dataset value to set.- Returns:
- the DiagnosticsProperties object itself.
-
status
Get the status property: Status of the diagnostics response.- Returns:
- the status value.
-
withStatus
Set the status property: Status of the diagnostics response.- Parameters:
status
- the status value to set.- Returns:
- the DiagnosticsProperties object itself.
-
dataProviderMetadata
Get the dataProviderMetadata property: List of data providers' metadata.- Returns:
- the dataProviderMetadata value.
-
withDataProviderMetadata
public DiagnosticsProperties withDataProviderMetadata(DiagnosticDataProviderMetadata dataProviderMetadata) Set the dataProviderMetadata property: List of data providers' metadata.- Parameters:
dataProviderMetadata
- the dataProviderMetadata value to set.- Returns:
- the DiagnosticsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-