KeyVaultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. models. KeyVaultProperties
- com.
public final class KeyVaultProperties
Properties to configure keyVault Properties.
Constructor Summary
Constructor | Description | |
---|---|---|
KeyVaultProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
User |
identity()
Get the identity property: The identity property. |
String |
keyName()
Get the key |
String |
keyVaultUri()
Get the key |
String |
keyVersion()
Get the key |
void |
validate()
Validates the instance. |
Key |
withIdentity(UserAssignedIdentityProperties identity)
Set the identity property: The identity property. |
Key |
withKeyName(String keyName)
Set the key |
Key |
withKeyVaultUri(String keyVaultUri)
Set the key |
Key |
withKeyVersion(String keyVersion)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultProperties
public KeyVaultProperties()
Method Details
identity
public UserAssignedIdentityProperties identity()
Get the identity property: The identity property.
Returns:
keyName
public String keyName()
Get the keyName property: Name of the Key from KeyVault.
Returns:
keyVaultUri
public String keyVaultUri()
Get the keyVaultUri property: Uri of KeyVault.
Returns:
keyVersion
public String keyVersion()
Get the keyVersion property: Key Version.
Returns:
validate
public void validate()
Validates the instance.
withIdentity
public KeyVaultProperties withIdentity(UserAssignedIdentityProperties identity)
Set the identity property: The identity property.
Parameters:
Returns:
withKeyName
public KeyVaultProperties withKeyName(String keyName)
Set the keyName property: Name of the Key from KeyVault.
Parameters:
Returns:
withKeyVaultUri
public KeyVaultProperties withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: Uri of KeyVault.
Parameters:
Returns:
withKeyVersion
public KeyVaultProperties withKeyVersion(String keyVersion)
Set the keyVersion property: Key Version.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for