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 Summary
ConstructorsConstructorDescriptionCreates an instance of StorageTaskAssignmentUpdateReport class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StorageTaskAssignmentUpdateReport from the JsonReader.prefix()Get the prefix property: The prefix of the storage task assignment report.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPrefix(String prefix) Set the prefix property: The prefix of the storage task assignment report.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
-
StorageTaskAssignmentUpdateReport
public StorageTaskAssignmentUpdateReport()Creates an instance of StorageTaskAssignmentUpdateReport class.
-
-
Method Details
-
prefix
Get the prefix property: The prefix of the storage task assignment report.- Returns:
- the prefix value.
-
withPrefix
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
- Specified by:
toJsonin interfacecom.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.
-