Class IpamPoolUpdateProperties

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

public final class IpamPoolUpdateProperties extends Object implements com.azure.json.JsonSerializable<IpamPoolUpdateProperties>
Represents the IpamPool update properties.
  • Constructor Details

    • IpamPoolUpdateProperties

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

    • description

      public String description()
      Get the description property: The description property.
      Returns:
      the description value.
    • withDescription

      public IpamPoolUpdateProperties withDescription(String description)
      Set the description property: The description property.
      Parameters:
      description - the description value to set.
      Returns:
      the IpamPoolUpdateProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: String representing a friendly name for the resource.
      Returns:
      the displayName value.
    • withDisplayName

      public IpamPoolUpdateProperties withDisplayName(String displayName)
      Set the displayName property: String representing a friendly name for the resource.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the IpamPoolUpdateProperties 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<IpamPoolUpdateProperties>
      Throws:
      IOException
    • fromJson

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