Class DiagnosticsProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.models.DiagnosticsProperties

public final class DiagnosticsProperties extends Object
Diagnostics resource specific properties.
  • Constructor Details

    • DiagnosticsProperties

      public DiagnosticsProperties()
      Creates an instance of DiagnosticsProperties class.
  • Method Details

    • metadata

      public DiagnosticsDefinition metadata()
      Get the metadata property: Metadata of the diagnostics response.
      Returns:
      the metadata value.
    • withMetadata

      public DiagnosticsProperties withMetadata(DiagnosticsDefinition metadata)
      Set the metadata property: Metadata of the diagnostics response.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the DiagnosticsProperties object itself.
    • dataset

      public List<DiagnosticsDataApiResponse> dataset()
      Get the dataset property: Set of data collections associated with the response.
      Returns:
      the dataset value.
    • withDataset

      public DiagnosticsProperties withDataset(List<DiagnosticsDataApiResponse> dataset)
      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

      public DiagnosticsStatus status()
      Get the status property: Status of the diagnostics response.
      Returns:
      the status value.
    • withStatus

      public DiagnosticsProperties withStatus(DiagnosticsStatus status)
      Set the status property: Status of the diagnostics response.
      Parameters:
      status - the status value to set.
      Returns:
      the DiagnosticsProperties object itself.
    • dataProviderMetadata

      public DiagnosticDataProviderMetadata 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.