Class StorageTaskAssignmentUpdateReport

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

public final class StorageTaskAssignmentUpdateReport extends Object implements com.azure.json.JsonSerializable<StorageTaskAssignmentUpdateReport>
The storage task assignment report.
  • Constructor Details

    • StorageTaskAssignmentUpdateReport

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

    • prefix

      public String prefix()
      Get the prefix property: The prefix of the storage task assignment report.
      Returns:
      the prefix value.
    • withPrefix

      public StorageTaskAssignmentUpdateReport withPrefix(String prefix)
      Set the prefix property: The prefix of the storage task assignment report.
      Parameters:
      prefix - the prefix value to set.
      Returns:
      the StorageTaskAssignmentUpdateReport 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<StorageTaskAssignmentUpdateReport>
      Throws:
      IOException
    • fromJson

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