Class KeyVaultProperties
- java.lang.Object
-
- com.azure.resourcemanager.kusto.models.KeyVaultProperties
-
public final class KeyVaultProperties extends Object
Properties of the key vault.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
keyName()
Get the keyName property: The name of the key vault key.String
keyVaultUri()
Get the keyVaultUri property: The Uri of the key vault.String
keyVersion()
Get the keyVersion property: The version of the key vault key.String
userIdentity()
Get the userIdentity property: The user assigned identity (ARM resource id) that has access to the key.void
validate()
Validates the instance.KeyVaultProperties
withKeyName(String keyName)
Set the keyName property: The name of the key vault key.KeyVaultProperties
withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: The Uri of the key vault.KeyVaultProperties
withKeyVersion(String keyVersion)
Set the keyVersion property: The version of the key vault key.KeyVaultProperties
withUserIdentity(String userIdentity)
Set the userIdentity property: The user assigned identity (ARM resource id) that has access to the key.
-
-
-
Method Detail
-
keyName
public String keyName()
Get the keyName property: The name of the key vault key.- Returns:
- the keyName value.
-
withKeyName
public KeyVaultProperties withKeyName(String keyName)
Set the keyName property: The name of the key vault key.- Parameters:
keyName
- the keyName value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVersion
public String keyVersion()
Get the keyVersion property: The version of the key vault key.- Returns:
- the keyVersion value.
-
withKeyVersion
public KeyVaultProperties withKeyVersion(String keyVersion)
Set the keyVersion property: The version of the key vault key.- Parameters:
keyVersion
- the keyVersion value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVaultUri
public String keyVaultUri()
Get the keyVaultUri property: The Uri of the key vault.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
public KeyVaultProperties withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: The Uri of the key vault.- Parameters:
keyVaultUri
- the keyVaultUri value to set.- Returns:
- the KeyVaultProperties object itself.
-
userIdentity
public String userIdentity()
Get the userIdentity property: The user assigned identity (ARM resource id) that has access to the key.- Returns:
- the userIdentity value.
-
withUserIdentity
public KeyVaultProperties withUserIdentity(String userIdentity)
Set the userIdentity property: The user assigned identity (ARM resource id) that has access to the key.- Parameters:
userIdentity
- the userIdentity value to set.- Returns:
- the KeyVaultProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-