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 Summary
ConstructorsConstructorDescriptionCreates an instance of SensitivityLabelUpdateList class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SensitivityLabelUpdateListfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SensitivityLabelUpdateList from the JsonReader.Get the operations property: The operations property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withOperations(List<SensitivityLabelUpdateInner> operations) Set the operations property: The operations property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SensitivityLabelUpdateList
public SensitivityLabelUpdateList()Creates an instance of SensitivityLabelUpdateList class.
-
-
Method Details
-
operations
Get the operations property: The operations property.- Returns:
- the operations value.
-
withOperations
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
- Specified by:
toJsonin interfacecom.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.
-