Class KeyVaultProperties
java.lang.Object
com.azure.resourcemanager.loganalytics.models.KeyVaultProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<KeyVaultProperties>
public final class KeyVaultProperties
extends Object
implements com.azure.json.JsonSerializable<KeyVaultProperties>
The key vault properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyVaultPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KeyVaultProperties from the JsonReader.keyName()Get the keyName property: The name of the key associated with the Log Analytics cluster.Get the keyRsaSize property: Selected key minimum required size.Get the keyVaultUri property: The Key Vault uri which holds they key associated with the Log Analytics cluster.Get the keyVersion property: The version of the key associated with the Log Analytics cluster.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withKeyName(String keyName) Set the keyName property: The name of the key associated with the Log Analytics cluster.withKeyRsaSize(Integer keyRsaSize) Set the keyRsaSize property: Selected key minimum required size.withKeyVaultUri(String keyVaultUri) Set the keyVaultUri property: The Key Vault uri which holds they key associated with the Log Analytics cluster.withKeyVersion(String keyVersion) Set the keyVersion property: The version of the key associated with the Log Analytics cluster.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
KeyVaultProperties
public KeyVaultProperties()Creates an instance of KeyVaultProperties class.
-
-
Method Details
-
keyVaultUri
Get the keyVaultUri property: The Key Vault uri which holds they key associated with the Log Analytics cluster.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
Set the keyVaultUri property: The Key Vault uri which holds they key associated with the Log Analytics cluster.- Parameters:
keyVaultUri- the keyVaultUri value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyName
Get the keyName property: The name of the key associated with the Log Analytics cluster.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The name of the key associated with the Log Analytics cluster.- Parameters:
keyName- the keyName value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVersion
Get the keyVersion property: The version of the key associated with the Log Analytics cluster.- Returns:
- the keyVersion value.
-
withKeyVersion
Set the keyVersion property: The version of the key associated with the Log Analytics cluster.- Parameters:
keyVersion- the keyVersion value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyRsaSize
Get the keyRsaSize property: Selected key minimum required size.- Returns:
- the keyRsaSize value.
-
withKeyRsaSize
Set the keyRsaSize property: Selected key minimum required size.- Parameters:
keyRsaSize- the keyRsaSize value to set.- Returns:
- the KeyVaultProperties object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<KeyVaultProperties>- Throws:
IOException
-
fromJson
Reads an instance of KeyVaultProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of KeyVaultProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the KeyVaultProperties.
-