Class ScaleSettingsInformation

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

public final class ScaleSettingsInformation extends Object implements com.azure.json.JsonSerializable<ScaleSettingsInformation>
Desired scale settings for the amlCompute.
  • Constructor Details

    • ScaleSettingsInformation

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

    • scaleSettings

      public ScaleSettings scaleSettings()
      Get the scaleSettings property: scale settings for AML Compute.
      Returns:
      the scaleSettings value.
    • withScaleSettings

      public ScaleSettingsInformation withScaleSettings(ScaleSettings scaleSettings)
      Set the scaleSettings property: scale settings for AML Compute.
      Parameters:
      scaleSettings - the scaleSettings value to set.
      Returns:
      the ScaleSettingsInformation 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<ScaleSettingsInformation>
      Throws:
      IOException
    • fromJson

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