Class DscNodeUpdateParameters

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

public final class DscNodeUpdateParameters extends Object implements com.azure.json.JsonSerializable<DscNodeUpdateParameters>
The parameters supplied to the update dsc node operation.
  • Constructor Details

    • DscNodeUpdateParameters

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

    • nodeId

      public String nodeId()
      Get the nodeId property: Gets or sets the id of the dsc node.
      Returns:
      the nodeId value.
    • withNodeId

      public DscNodeUpdateParameters withNodeId(String nodeId)
      Set the nodeId property: Gets or sets the id of the dsc node.
      Parameters:
      nodeId - the nodeId value to set.
      Returns:
      the DscNodeUpdateParameters object itself.
    • properties

      public DscNodeUpdateParametersProperties properties()
      Get the properties property: The properties property.
      Returns:
      the properties value.
    • withProperties

      public DscNodeUpdateParameters withProperties(DscNodeUpdateParametersProperties properties)
      Set the properties property: The properties property.
      Parameters:
      properties - the properties value to set.
      Returns:
      the DscNodeUpdateParameters 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<DscNodeUpdateParameters>
      Throws:
      IOException
    • fromJson

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