Class KeyVaultKeyProperties
java.lang.Object
com.azure.resourcemanager.iothub.models.KeyVaultKeyProperties
The properties of the KeyVault key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Managed identity properties of KeyVault Key.Get the keyIdentifier property: The identifier of the key.void
validate()
Validates the instance.withIdentity
(ManagedIdentity identity) Set the identity property: Managed identity properties of KeyVault Key.withKeyIdentifier
(String keyIdentifier) Set the keyIdentifier property: The identifier of the key.
-
Constructor Details
-
KeyVaultKeyProperties
public KeyVaultKeyProperties()
-
-
Method Details
-
keyIdentifier
Get the keyIdentifier property: The identifier of the key.- Returns:
- the keyIdentifier value.
-
withKeyIdentifier
Set the keyIdentifier property: The identifier of the key.- Parameters:
keyIdentifier
- the keyIdentifier value to set.- Returns:
- the KeyVaultKeyProperties object itself.
-
identity
Get the identity property: Managed identity properties of KeyVault Key.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed identity properties of KeyVault Key.- Parameters:
identity
- the identity value to set.- Returns:
- the KeyVaultKeyProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-