Class LedgerDigestUploadsProperties

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

public final class LedgerDigestUploadsProperties extends Object implements com.azure.json.JsonSerializable<LedgerDigestUploadsProperties>
The properties of a database ledger digest upload settings.
  • Constructor Details

    • LedgerDigestUploadsProperties

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

    • digestStorageEndpoint

      public String digestStorageEndpoint()
      Get the digestStorageEndpoint property: The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger.
      Returns:
      the digestStorageEndpoint value.
    • withDigestStorageEndpoint

      public LedgerDigestUploadsProperties withDigestStorageEndpoint(String digestStorageEndpoint)
      Set the digestStorageEndpoint property: The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger.
      Parameters:
      digestStorageEndpoint - the digestStorageEndpoint value to set.
      Returns:
      the LedgerDigestUploadsProperties object itself.
    • state

      public LedgerDigestUploadsState state()
      Get the state property: Specifies the state of ledger digest upload.
      Returns:
      the state 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<LedgerDigestUploadsProperties>
      Throws:
      IOException
    • fromJson

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