Class DiagnoseResponseResultValue

java.lang.Object
com.azure.resourcemanager.machinelearning.models.DiagnoseResponseResultValue
All Implemented Interfaces:
com.azure.json.JsonSerializable<DiagnoseResponseResultValue>

public final class DiagnoseResponseResultValue extends Object implements com.azure.json.JsonSerializable<DiagnoseResponseResultValue>
The DiagnoseResponseResultValue model.
  • Constructor Details

    • DiagnoseResponseResultValue

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

    • userDefinedRouteResults

      public List<DiagnoseResult> userDefinedRouteResults()
      Get the userDefinedRouteResults property: The userDefinedRouteResults property.
      Returns:
      the userDefinedRouteResults value.
    • withUserDefinedRouteResults

      public DiagnoseResponseResultValue withUserDefinedRouteResults(List<DiagnoseResult> userDefinedRouteResults)
      Set the userDefinedRouteResults property: The userDefinedRouteResults property.
      Parameters:
      userDefinedRouteResults - the userDefinedRouteResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • networkSecurityRuleResults

      public List<DiagnoseResult> networkSecurityRuleResults()
      Get the networkSecurityRuleResults property: The networkSecurityRuleResults property.
      Returns:
      the networkSecurityRuleResults value.
    • withNetworkSecurityRuleResults

      public DiagnoseResponseResultValue withNetworkSecurityRuleResults(List<DiagnoseResult> networkSecurityRuleResults)
      Set the networkSecurityRuleResults property: The networkSecurityRuleResults property.
      Parameters:
      networkSecurityRuleResults - the networkSecurityRuleResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • resourceLockResults

      public List<DiagnoseResult> resourceLockResults()
      Get the resourceLockResults property: The resourceLockResults property.
      Returns:
      the resourceLockResults value.
    • withResourceLockResults

      public DiagnoseResponseResultValue withResourceLockResults(List<DiagnoseResult> resourceLockResults)
      Set the resourceLockResults property: The resourceLockResults property.
      Parameters:
      resourceLockResults - the resourceLockResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • dnsResolutionResults

      public List<DiagnoseResult> dnsResolutionResults()
      Get the dnsResolutionResults property: The dnsResolutionResults property.
      Returns:
      the dnsResolutionResults value.
    • withDnsResolutionResults

      public DiagnoseResponseResultValue withDnsResolutionResults(List<DiagnoseResult> dnsResolutionResults)
      Set the dnsResolutionResults property: The dnsResolutionResults property.
      Parameters:
      dnsResolutionResults - the dnsResolutionResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • storageAccountResults

      public List<DiagnoseResult> storageAccountResults()
      Get the storageAccountResults property: The storageAccountResults property.
      Returns:
      the storageAccountResults value.
    • withStorageAccountResults

      public DiagnoseResponseResultValue withStorageAccountResults(List<DiagnoseResult> storageAccountResults)
      Set the storageAccountResults property: The storageAccountResults property.
      Parameters:
      storageAccountResults - the storageAccountResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • keyVaultResults

      public List<DiagnoseResult> keyVaultResults()
      Get the keyVaultResults property: The keyVaultResults property.
      Returns:
      the keyVaultResults value.
    • withKeyVaultResults

      public DiagnoseResponseResultValue withKeyVaultResults(List<DiagnoseResult> keyVaultResults)
      Set the keyVaultResults property: The keyVaultResults property.
      Parameters:
      keyVaultResults - the keyVaultResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • containerRegistryResults

      public List<DiagnoseResult> containerRegistryResults()
      Get the containerRegistryResults property: The containerRegistryResults property.
      Returns:
      the containerRegistryResults value.
    • withContainerRegistryResults

      public DiagnoseResponseResultValue withContainerRegistryResults(List<DiagnoseResult> containerRegistryResults)
      Set the containerRegistryResults property: The containerRegistryResults property.
      Parameters:
      containerRegistryResults - the containerRegistryResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • applicationInsightsResults

      public List<DiagnoseResult> applicationInsightsResults()
      Get the applicationInsightsResults property: The applicationInsightsResults property.
      Returns:
      the applicationInsightsResults value.
    • withApplicationInsightsResults

      public DiagnoseResponseResultValue withApplicationInsightsResults(List<DiagnoseResult> applicationInsightsResults)
      Set the applicationInsightsResults property: The applicationInsightsResults property.
      Parameters:
      applicationInsightsResults - the applicationInsightsResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • otherResults

      public List<DiagnoseResult> otherResults()
      Get the otherResults property: The otherResults property.
      Returns:
      the otherResults value.
    • withOtherResults

      public DiagnoseResponseResultValue withOtherResults(List<DiagnoseResult> otherResults)
      Set the otherResults property: The otherResults property.
      Parameters:
      otherResults - the otherResults value to set.
      Returns:
      the DiagnoseResponseResultValue object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DiagnoseResponseResultValue>
      Throws:
      IOException
    • fromJson

      public static DiagnoseResponseResultValue fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DiagnoseResponseResultValue from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DiagnoseResponseResultValue 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 DiagnoseResponseResultValue.