Freigeben über


LedgerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.confidentialledger.models.LedgerProperties

Implements

public final class LedgerProperties
implements JsonSerializable<LedgerProperties>

LedgerProperties Additional Confidential Ledger properties.

Constructor Summary

Constructor Description
LedgerProperties()

Creates an instance of LedgerProperties class.

Method Summary

Modifier and Type Method and Description
List<AadBasedSecurityPrincipal> aadBasedSecurityPrincipals()

Get the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.

List<CertBasedSecurityPrincipal> certBasedSecurityPrincipals()

Get the certBasedSecurityPrincipals property: Array of all cert based Security Principals.

static LedgerProperties fromJson(JsonReader jsonReader)

Reads an instance of LedgerProperties from the JsonReader.

String identityServiceUri()

Get the identityServiceUri property: Endpoint for accessing network identity.

String ledgerInternalNamespace()

Get the ledgerInternalNamespace property: Internal namespace for the Ledger.

String ledgerName()

Get the ledgerName property: Unique name for the Confidential Ledger.

LedgerSku ledgerSku()

Get the ledgerSku property: SKU associated with the ledger.

LedgerType ledgerType()

Get the ledgerType property: Type of Confidential Ledger.

String ledgerUri()

Get the ledgerUri property: Endpoint for calling Ledger Service.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of Ledger Resource.

RunningState runningState()

Get the runningState property: Object representing RunningState for Ledger.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LedgerProperties withAadBasedSecurityPrincipals(List<AadBasedSecurityPrincipal> aadBasedSecurityPrincipals)

Set the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.

LedgerProperties withCertBasedSecurityPrincipals(List<CertBasedSecurityPrincipal> certBasedSecurityPrincipals)

Set the certBasedSecurityPrincipals property: Array of all cert based Security Principals.

LedgerProperties withLedgerSku(LedgerSku ledgerSku)

Set the ledgerSku property: SKU associated with the ledger.

LedgerProperties withLedgerType(LedgerType ledgerType)

Set the ledgerType property: Type of Confidential Ledger.

LedgerProperties withRunningState(RunningState runningState)

Set the runningState property: Object representing RunningState for Ledger.

Methods inherited from java.lang.Object

Constructor Details

LedgerProperties

public LedgerProperties()

Creates an instance of LedgerProperties class.

Method Details

aadBasedSecurityPrincipals

public List aadBasedSecurityPrincipals()

Get the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.

Returns:

the aadBasedSecurityPrincipals value.

certBasedSecurityPrincipals

public List certBasedSecurityPrincipals()

Get the certBasedSecurityPrincipals property: Array of all cert based Security Principals.

Returns:

the certBasedSecurityPrincipals value.

fromJson

public static LedgerProperties fromJson(JsonReader jsonReader)

Reads an instance of LedgerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LedgerProperties 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 LedgerProperties.

identityServiceUri

public String identityServiceUri()

Get the identityServiceUri property: Endpoint for accessing network identity.

Returns:

the identityServiceUri value.

ledgerInternalNamespace

public String ledgerInternalNamespace()

Get the ledgerInternalNamespace property: Internal namespace for the Ledger.

Returns:

the ledgerInternalNamespace value.

ledgerName

public String ledgerName()

Get the ledgerName property: Unique name for the Confidential Ledger.

Returns:

the ledgerName value.

ledgerSku

public LedgerSku ledgerSku()

Get the ledgerSku property: SKU associated with the ledger.

Returns:

the ledgerSku value.

ledgerType

public LedgerType ledgerType()

Get the ledgerType property: Type of Confidential Ledger.

Returns:

the ledgerType value.

ledgerUri

public String ledgerUri()

Get the ledgerUri property: Endpoint for calling Ledger Service.

Returns:

the ledgerUri value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of Ledger Resource.

Returns:

the provisioningState value.

runningState

public RunningState runningState()

Get the runningState property: Object representing RunningState for Ledger.

Returns:

the runningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAadBasedSecurityPrincipals

public LedgerProperties withAadBasedSecurityPrincipals(List aadBasedSecurityPrincipals)

Set the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.

Parameters:

aadBasedSecurityPrincipals - the aadBasedSecurityPrincipals value to set.

Returns:

the LedgerProperties object itself.

withCertBasedSecurityPrincipals

public LedgerProperties withCertBasedSecurityPrincipals(List certBasedSecurityPrincipals)

Set the certBasedSecurityPrincipals property: Array of all cert based Security Principals.

Parameters:

certBasedSecurityPrincipals - the certBasedSecurityPrincipals value to set.

Returns:

the LedgerProperties object itself.

withLedgerSku

public LedgerProperties withLedgerSku(LedgerSku ledgerSku)

Set the ledgerSku property: SKU associated with the ledger.

Parameters:

ledgerSku - the ledgerSku value to set.

Returns:

the LedgerProperties object itself.

withLedgerType

public LedgerProperties withLedgerType(LedgerType ledgerType)

Set the ledgerType property: Type of Confidential Ledger.

Parameters:

ledgerType - the ledgerType value to set.

Returns:

the LedgerProperties object itself.

withRunningState

public LedgerProperties withRunningState(RunningState runningState)

Set the runningState property: Object representing RunningState for Ledger.

Parameters:

runningState - the runningState value to set.

Returns:

the LedgerProperties object itself.

Applies to