Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.storage; import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonProperty;
Properties of key vault.
/** * Properties of key vault. */
public class KeyVaultProperties {
The name of KeyVault key.
/** * The name of KeyVault key. */
@JsonProperty(value = "keyname") private String keyName;
The version of KeyVault key.
/** * The version of KeyVault key. */
@JsonProperty(value = "keyversion") private String keyVersion;
The Uri of KeyVault.
/** * The Uri of KeyVault. */
@JsonProperty(value = "keyvaulturi") private String keyVaultUri;
The object identifier of the current versioned Key Vault Key in use.
/** * The object identifier of the current versioned Key Vault Key in use. */
@JsonProperty(value = "currentVersionedKeyIdentifier", access = JsonProperty.Access.WRITE_ONLY) private String currentVersionedKeyIdentifier;
Timestamp of last rotation of the Key Vault Key.
/** * Timestamp of last rotation of the Key Vault Key. */
@JsonProperty(value = "lastKeyRotationTimestamp", access = JsonProperty.Access.WRITE_ONLY) private DateTime lastKeyRotationTimestamp;
Get the name of KeyVault key.
Returns:the keyName value
/** * Get the name of KeyVault key. * * @return the keyName value */
public String keyName() { return this.keyName; }
Set the name of KeyVault key.
Params:
  • keyName – the keyName value to set
Returns:the KeyVaultProperties object itself.
/** * Set the name of KeyVault key. * * @param keyName the keyName value to set * @return the KeyVaultProperties object itself. */
public KeyVaultProperties withKeyName(String keyName) { this.keyName = keyName; return this; }
Get the version of KeyVault key.
Returns:the keyVersion value
/** * Get the version of KeyVault key. * * @return the keyVersion value */
public String keyVersion() { return this.keyVersion; }
Set the version of KeyVault key.
Params:
  • keyVersion – the keyVersion value to set
Returns:the KeyVaultProperties object itself.
/** * Set the version of KeyVault key. * * @param keyVersion the keyVersion value to set * @return the KeyVaultProperties object itself. */
public KeyVaultProperties withKeyVersion(String keyVersion) { this.keyVersion = keyVersion; return this; }
Get the Uri of KeyVault.
Returns:the keyVaultUri value
/** * Get the Uri of KeyVault. * * @return the keyVaultUri value */
public String keyVaultUri() { return this.keyVaultUri; }
Set the Uri of KeyVault.
Params:
  • keyVaultUri – the keyVaultUri value to set
Returns:the KeyVaultProperties object itself.
/** * Set the Uri of KeyVault. * * @param keyVaultUri the keyVaultUri value to set * @return the KeyVaultProperties object itself. */
public KeyVaultProperties withKeyVaultUri(String keyVaultUri) { this.keyVaultUri = keyVaultUri; return this; }
Get the object identifier of the current versioned Key Vault Key in use.
Returns:the currentVersionedKeyIdentifier value
/** * Get the object identifier of the current versioned Key Vault Key in use. * * @return the currentVersionedKeyIdentifier value */
public String currentVersionedKeyIdentifier() { return this.currentVersionedKeyIdentifier; }
Get timestamp of last rotation of the Key Vault Key.
Returns:the lastKeyRotationTimestamp value
/** * Get timestamp of last rotation of the Key Vault Key. * * @return the lastKeyRotationTimestamp value */
public DateTime lastKeyRotationTimestamp() { return this.lastKeyRotationTimestamp; } }