Class SyncGroupLogPropertiesInner

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.SyncGroupLogPropertiesInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<SyncGroupLogPropertiesInner>

public final class SyncGroupLogPropertiesInner extends Object implements com.azure.json.JsonSerializable<SyncGroupLogPropertiesInner>
Properties of an Azure SQL Database sync group log.
  • Constructor Details

    • SyncGroupLogPropertiesInner

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

    • timestamp

      public OffsetDateTime timestamp()
      Get the timestamp property: Timestamp of the sync group log.
      Returns:
      the timestamp value.
    • type

      public SyncGroupLogType type()
      Get the type property: Type of the sync group log.
      Returns:
      the type value.
    • source

      public String source()
      Get the source property: Source of the sync group log.
      Returns:
      the source value.
    • details

      public String details()
      Get the details property: Details of the sync group log.
      Returns:
      the details value.
    • tracingId

      public UUID tracingId()
      Get the tracingId property: TracingId of the sync group log.
      Returns:
      the tracingId value.
    • operationStatus

      public String operationStatus()
      Get the operationStatus property: OperationStatus of the sync group log.
      Returns:
      the operationStatus value.
    • 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<SyncGroupLogPropertiesInner>
      Throws:
      IOException
    • fromJson

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