Class LedgerProperties
- java.lang.Object
-
- com.azure.resourcemanager.confidentialledger.models.LedgerProperties
-
public final class LedgerProperties extends Object
LedgerProperties Additional Confidential Ledger properties.
-
-
Constructor Summary
Constructors Constructor Description LedgerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.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.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
withLedgerType(LedgerType ledgerType)
Set the ledgerType property: Type of Confidential Ledger.
-
-
-
Method Detail
-
ledgerName
public String ledgerName()
Get the ledgerName property: Unique name for the Confidential Ledger.- Returns:
- the ledgerName value.
-
ledgerUri
public String ledgerUri()
Get the ledgerUri property: Endpoint for calling Ledger Service.- Returns:
- the ledgerUri value.
-
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.
-
ledgerType
public LedgerType ledgerType()
Get the ledgerType property: Type of Confidential Ledger.- Returns:
- the ledgerType value.
-
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.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of Ledger Resource.- Returns:
- the provisioningState value.
-
aadBasedSecurityPrincipals
public List<AadBasedSecurityPrincipal> aadBasedSecurityPrincipals()
Get the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.- Returns:
- the aadBasedSecurityPrincipals value.
-
withAadBasedSecurityPrincipals
public LedgerProperties withAadBasedSecurityPrincipals(List<AadBasedSecurityPrincipal> aadBasedSecurityPrincipals)
Set the aadBasedSecurityPrincipals property: Array of all AAD based Security Principals.- Parameters:
aadBasedSecurityPrincipals
- the aadBasedSecurityPrincipals value to set.- Returns:
- the LedgerProperties object itself.
-
certBasedSecurityPrincipals
public List<CertBasedSecurityPrincipal> certBasedSecurityPrincipals()
Get the certBasedSecurityPrincipals property: Array of all cert based Security Principals.- Returns:
- the certBasedSecurityPrincipals value.
-
withCertBasedSecurityPrincipals
public LedgerProperties withCertBasedSecurityPrincipals(List<CertBasedSecurityPrincipal> certBasedSecurityPrincipals)
Set the certBasedSecurityPrincipals property: Array of all cert based Security Principals.- Parameters:
certBasedSecurityPrincipals
- the certBasedSecurityPrincipals value to set.- Returns:
- the LedgerProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-