Class ServiceTagInformationPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.models.ServiceTagInformationPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ServiceTagInformationPropertiesFormat>
public final class ServiceTagInformationPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ServiceTagInformationPropertiesFormat>
Properties of the service tag information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceTagInformationPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addressPrefixes property: The list of IP address prefixes.Get the changeNumber property: The iteration number of service tag.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServiceTagInformationPropertiesFormat from the JsonReader.region()Get the region property: The region of service tag.state()Get the state property: The state of the service tag.Get the systemService property: The name of system service.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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
-
ServiceTagInformationPropertiesFormat
public ServiceTagInformationPropertiesFormat()Creates an instance of ServiceTagInformationPropertiesFormat class.
-
-
Method Details
-
changeNumber
Get the changeNumber property: The iteration number of service tag.- Returns:
- the changeNumber value.
-
region
Get the region property: The region of service tag.- Returns:
- the region value.
-
systemService
Get the systemService property: The name of system service.- Returns:
- the systemService value.
-
addressPrefixes
Get the addressPrefixes property: The list of IP address prefixes.- Returns:
- the addressPrefixes value.
-
state
Get the state property: The state of the service tag.- Returns:
- the state value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ServiceTagInformationPropertiesFormat>- Throws:
IOException
-
fromJson
public static ServiceTagInformationPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ServiceTagInformationPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ServiceTagInformationPropertiesFormat 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 ServiceTagInformationPropertiesFormat.
-