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 Summary
ConstructorsConstructorDescriptionCreates an instance of IpamPoolUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description property.Get the displayName property: String representing a friendly name for the resource.static IpamPoolUpdatePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IpamPoolUpdateProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: The description property.withDisplayName(String displayName) Set the displayName property: String representing a friendly name for the resource.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
-
IpamPoolUpdateProperties
public IpamPoolUpdateProperties()Creates an instance of IpamPoolUpdateProperties class.
-
-
Method Details
-
description
Get the description property: The description property.- Returns:
- the description value.
-
withDescription
Set the description property: The description property.- Parameters:
description- the description value to set.- Returns:
- the IpamPoolUpdateProperties object itself.
-
displayName
Get the displayName property: String representing a friendly name for the resource.- Returns:
- the displayName value.
-
withDisplayName
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
- Specified by:
toJsonin interfacecom.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.
-