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 Summary
ConstructorsConstructorDescriptionCreates an instance of LedgerDigestUploadsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the digestStorageEndpoint property: The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LedgerDigestUploadsProperties from the JsonReader.state()Get the state property: Specifies the state of ledger digest upload.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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.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
-
LedgerDigestUploadsProperties
public LedgerDigestUploadsProperties()Creates an instance of LedgerDigestUploadsProperties class.
-
-
Method Details
-
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
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
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
- Specified by:
toJsonin interfacecom.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.
-