Class SensitivityLabelUpdateList

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

public final class SensitivityLabelUpdateList extends Object implements com.azure.json.JsonSerializable<SensitivityLabelUpdateList>
A list of sensitivity label update operations.
  • Constructor Details

    • SensitivityLabelUpdateList

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

    • operations

      public List<SensitivityLabelUpdateInner> operations()
      Get the operations property: The operations property.
      Returns:
      the operations value.
    • withOperations

      public SensitivityLabelUpdateList withOperations(List<SensitivityLabelUpdateInner> operations)
      Set the operations property: The operations property.
      Parameters:
      operations - the operations value to set.
      Returns:
      the SensitivityLabelUpdateList 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<SensitivityLabelUpdateList>
      Throws:
      IOException
    • fromJson

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