LedgerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. confidentialledger. models. LedgerProperties
- com.
Implements
public final class LedgerProperties
implements JsonSerializable<LedgerProperties>
LedgerProperties Additional Confidential Ledger properties.
Constructor Summary
Constructor | Description |
---|---|
LedgerProperties() |
Creates an instance of Ledger |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Aad |
aadBasedSecurityPrincipals()
Get the aad |
List<Cert |
certBasedSecurityPrincipals()
Get the cert |
static
Ledger |
fromJson(JsonReader jsonReader)
Reads an instance of Ledger |
String |
identityServiceUri()
Get the identity |
String |
ledgerInternalNamespace()
Get the ledger |
String |
ledgerName()
Get the ledger |
Ledger |
ledgerSku()
Get the ledger |
Ledger |
ledgerType()
Get the ledger |
String |
ledgerUri()
Get the ledger |
Provisioning |
provisioningState()
Get the provisioning |
Running |
runningState()
Get the running |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ledger |
withAadBasedSecurityPrincipals(List<AadBasedSecurityPrincipal> aadBasedSecurityPrincipals)
Set the aad |
Ledger |
withCertBasedSecurityPrincipals(List<CertBasedSecurityPrincipal> certBasedSecurityPrincipals)
Set the cert |
Ledger |
withLedgerSku(LedgerSku ledgerSku)
Set the ledger |
Ledger |
withLedgerType(LedgerType ledgerType)
Set the ledger |
Ledger |
withRunningState(RunningState runningState)
Set the running |
Methods inherited from java.lang.Object
Constructor Details
LedgerProperties
public LedgerProperties()
Creates an instance of LedgerProperties class.
Method Details
aadBasedSecurityPrincipals
public List
Get the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.
Returns:
certBasedSecurityPrincipals
public List
Get the certBasedSecurityPrincipals property: Array of all cert based Security Principals.
Returns:
fromJson
public static LedgerProperties fromJson(JsonReader jsonReader)
Reads an instance of LedgerProperties from the JsonReader.
Parameters:
Returns:
Throws:
identityServiceUri
public String identityServiceUri()
Get the identityServiceUri property: Endpoint for accessing network identity.
Returns:
ledgerInternalNamespace
public String ledgerInternalNamespace()
Get the ledgerInternalNamespace property: Internal namespace for the Ledger.
Returns:
ledgerName
public String ledgerName()
Get the ledgerName property: Unique name for the Confidential Ledger.
Returns:
ledgerSku
public LedgerSku ledgerSku()
Get the ledgerSku property: SKU associated with the ledger.
Returns:
ledgerType
public LedgerType ledgerType()
Get the ledgerType property: Type of Confidential Ledger.
Returns:
ledgerUri
public String ledgerUri()
Get the ledgerUri property: Endpoint for calling Ledger Service.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of Ledger Resource.
Returns:
runningState
public RunningState runningState()
Get the runningState property: Object representing RunningState for Ledger.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAadBasedSecurityPrincipals
public LedgerProperties withAadBasedSecurityPrincipals(List
Set the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.
Parameters:
Returns:
withCertBasedSecurityPrincipals
public LedgerProperties withCertBasedSecurityPrincipals(List
Set the certBasedSecurityPrincipals property: Array of all cert based Security Principals.
Parameters:
Returns:
withLedgerSku
public LedgerProperties withLedgerSku(LedgerSku ledgerSku)
Set the ledgerSku property: SKU associated with the ledger.
Parameters:
Returns:
withLedgerType
public LedgerProperties withLedgerType(LedgerType ledgerType)
Set the ledgerType property: Type of Confidential Ledger.
Parameters:
Returns:
withRunningState
public LedgerProperties withRunningState(RunningState runningState)
Set the runningState property: Object representing RunningState for Ledger.
Parameters:
Returns:
Applies to
Azure SDK for Java