LedgerDigestUploadsInner Class

public final class LedgerDigestUploadsInner
extends ProxyResource

Azure SQL Database ledger digest upload settings.

Constructor Summary

Constructor Description
LedgerDigestUploadsInner()

Creates an instance of LedgerDigestUploadsInner class.

Method Summary

Modifier and Type Method and Description
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.

static LedgerDigestUploadsInner fromJson(JsonReader jsonReader)

Reads an instance of LedgerDigestUploadsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

LedgerDigestUploadsState state()

Get the state property: Specifies the state of ledger digest upload.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

LedgerDigestUploadsInner 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 ProxyResource

Methods inherited from java.lang.Object

Constructor Details

LedgerDigestUploadsInner

public LedgerDigestUploadsInner()

Creates an instance of LedgerDigestUploadsInner 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.

fromJson

public static LedgerDigestUploadsInner fromJson(JsonReader jsonReader)

Reads an instance of LedgerDigestUploadsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LedgerDigestUploadsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

LedgerDigestUploadsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LedgerDigestUploadsInner.name()

Returns:

the name value.

state

public LedgerDigestUploadsState state()

Get the state property: Specifies the state of ledger digest upload.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LedgerDigestUploadsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LedgerDigestUploadsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDigestStorageEndpoint

public LedgerDigestUploadsInner 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 LedgerDigestUploadsInner object itself.

Applies to