Class ProjectUpdateParameters

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

public final class ProjectUpdateParameters extends Object implements com.azure.json.JsonSerializable<ProjectUpdateParameters>
The Project resource.
  • Constructor Details

    • ProjectUpdateParameters

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

    • description

      public String description()
      Get the description property: A description for the Project.
      Returns:
      the description value.
    • withDescription

      public ProjectUpdateParameters withDescription(String description)
      Set the description property: A description for the Project.
      Parameters:
      description - the description value to set.
      Returns:
      the ProjectUpdateParameters 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<ProjectUpdateParameters>
      Throws:
      IOException
    • fromJson

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