Class PeeringServicePrefixEvent
java.lang.Object
com.azure.resourcemanager.peering.models.PeeringServicePrefixEvent
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PeeringServicePrefixEvent>
public final class PeeringServicePrefixEvent
extends Object
implements com.azure.json.JsonSerializable<PeeringServicePrefixEvent>
The details of the event associated with a prefix.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PeeringServicePrefixEvent class. -
Method Summary
Modifier and TypeMethodDescriptionGet the eventDescription property: The description of the event associated with a prefix.Get the eventLevel property: The level of the event associated with a prefix.Get the eventSummary property: The summary of the event associated with a prefix.Get the eventTimestamp property: The timestamp of the event associated with a prefix.Get the eventType property: The type of the event associated with a prefix.static PeeringServicePrefixEventfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PeeringServicePrefixEvent from the JsonReader.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
-
PeeringServicePrefixEvent
public PeeringServicePrefixEvent()Creates an instance of PeeringServicePrefixEvent class.
-
-
Method Details
-
eventTimestamp
Get the eventTimestamp property: The timestamp of the event associated with a prefix.- Returns:
- the eventTimestamp value.
-
eventType
Get the eventType property: The type of the event associated with a prefix.- Returns:
- the eventType value.
-
eventSummary
Get the eventSummary property: The summary of the event associated with a prefix.- Returns:
- the eventSummary value.
-
eventLevel
Get the eventLevel property: The level of the event associated with a prefix.- Returns:
- the eventLevel value.
-
eventDescription
Get the eventDescription property: The description of the event associated with a prefix.- Returns:
- the eventDescription 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<PeeringServicePrefixEvent>- Throws:
IOException
-
fromJson
public static PeeringServicePrefixEvent fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PeeringServicePrefixEvent from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PeeringServicePrefixEvent 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 PeeringServicePrefixEvent.
-