Class KeyVaultSigningKeyParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.KeyVaultSigningKeyParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<KeyVaultSigningKeyParameters>
public final class KeyVaultSigningKeyParameters
extends Object
implements com.azure.json.JsonSerializable<KeyVaultSigningKeyParameters>
Describes the parameters for using a user's KeyVault for URL Signing Key.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of KeyVaultSigningKeyParameters class. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyVaultSigningKeyParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KeyVaultSigningKeyParameters from the JsonReader.Get the resourceGroupName property: Resource group of the user's Key Vault containing the secret.Get the secretName property: The name of secret in Key Vault.Get the secretVersion property: The version(GUID) of secret in Key Vault.Get the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) typeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.Get the vaultName property: The name of the user's Key Vault containing the secret.withResourceGroupName(String resourceGroupName) Set the resourceGroupName property: Resource group of the user's Key Vault containing the secret.withSecretName(String secretName) Set the secretName property: The name of secret in Key Vault.withSecretVersion(String secretVersion) Set the secretVersion property: The version(GUID) of secret in Key Vault.withSubscriptionId(String subscriptionId) Set the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.withTypeName(String typeName) Set the typeName property: The typeName property.withVaultName(String vaultName) Set the vaultName property: The name of the user's Key Vault containing the secret.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
-
KeyVaultSigningKeyParameters
public KeyVaultSigningKeyParameters()Creates an instance of KeyVaultSigningKeyParameters class.
-
-
Method Details
-
typeName
Get the typeName property: The typeName property.- Returns:
- the typeName value.
-
withTypeName
Set the typeName property: The typeName property.- Parameters:
typeName- the typeName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
subscriptionId
Get the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: Subscription Id of the user's Key Vault containing the secret.- Parameters:
subscriptionId- the subscriptionId value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
resourceGroupName
Get the resourceGroupName property: Resource group of the user's Key Vault containing the secret.- Returns:
- the resourceGroupName value.
-
withResourceGroupName
Set the resourceGroupName property: Resource group of the user's Key Vault containing the secret.- Parameters:
resourceGroupName- the resourceGroupName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
vaultName
Get the vaultName property: The name of the user's Key Vault containing the secret.- Returns:
- the vaultName value.
-
withVaultName
Set the vaultName property: The name of the user's Key Vault containing the secret.- Parameters:
vaultName- the vaultName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
secretName
Get the secretName property: The name of secret in Key Vault.- Returns:
- the secretName value.
-
withSecretName
Set the secretName property: The name of secret in Key Vault.- Parameters:
secretName- the secretName value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
secretVersion
Get the secretVersion property: The version(GUID) of secret in Key Vault.- Returns:
- the secretVersion value.
-
withSecretVersion
Set the secretVersion property: The version(GUID) of secret in Key Vault.- Parameters:
secretVersion- the secretVersion value to set.- Returns:
- the KeyVaultSigningKeyParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<KeyVaultSigningKeyParameters>- Throws:
IOException
-
fromJson
public static KeyVaultSigningKeyParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of KeyVaultSigningKeyParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of KeyVaultSigningKeyParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the KeyVaultSigningKeyParameters.
-