LedgerType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. confidentialledger. models. LedgerType
- com.
- com.
public final class LedgerType
extends ExpandableStringEnum<LedgerType>
Type of the ledger. Private means transaction data is encrypted.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Ledger |
PRIVATE
Static value Private for Ledger |
static final
Ledger |
PUBLIC
Static value Public for Ledger |
static final
Ledger |
UNKNOWN
Static value Unknown for Ledger |
Constructor Summary
Constructor | Description |
---|---|
LedgerType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Ledger |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Ledger |
fromString(String name)
Creates or finds a Ledger |
static
Collection<Ledger |
values()
Gets known Ledger |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIVATE
public static final LedgerType PRIVATE
Static value Private for LedgerType.
PUBLIC
public static final LedgerType PUBLIC
Static value Public for LedgerType.
UNKNOWN
public static final LedgerType UNKNOWN
Static value Unknown for LedgerType.
Constructor Details
LedgerType
@Deprecated
public LedgerType()
Deprecated
Creates a new instance of LedgerType value.
Method Details
fromString
public static LedgerType fromString(String name)
Creates or finds a LedgerType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known LedgerType values.
Returns:
Applies to
Azure SDK for Java