com.microsoft.azure.keyvault.models.KeyUpdateParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-keyvault Show documentation
Show all versions of azure-keyvault Show documentation
This library has been replaced by new Azure SDKs, you can read about them at https://aka.ms/azsdkvalueprop. The latest libraries to interact with the Azure Key Vault service are:
(1) https://search.maven.org/artifact/com.azure/azure-security-keyvault-keys.
(2) https://search.maven.org/artifact/com.azure/azure-security-keyvault-secrets.
(3) https://search.maven.org/artifact/com.azure/azure-security-keyvault-certificates.
It is recommended that you move to the new package.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.azure.keyvault.models;
import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The key update parameters.
*/
public class KeyUpdateParameters {
/**
* Json web key operations. For more information on possible key
* operations, see JsonWebKeyOperation.
*/
@JsonProperty(value = "key_ops")
private List keyOps;
/**
* The keyAttributes property.
*/
@JsonProperty(value = "attributes")
private KeyAttributes keyAttributes;
/**
* Application specific metadata in the form of key-value pairs.
*/
@JsonProperty(value = "tags")
private Map tags;
/**
* Get the keyOps value.
*
* @return the keyOps value
*/
public List keyOps() {
return this.keyOps;
}
/**
* Set the keyOps value.
*
* @param keyOps the keyOps value to set
* @return the KeyUpdateParameters object itself.
*/
public KeyUpdateParameters withKeyOps(List keyOps) {
this.keyOps = keyOps;
return this;
}
/**
* Get the keyAttributes value.
*
* @return the keyAttributes value
*/
public KeyAttributes keyAttributes() {
return this.keyAttributes;
}
/**
* Set the keyAttributes value.
*
* @param keyAttributes the keyAttributes value to set
* @return the KeyUpdateParameters object itself.
*/
public KeyUpdateParameters withKeyAttributes(KeyAttributes keyAttributes) {
this.keyAttributes = keyAttributes;
return this;
}
/**
* Get the tags value.
*
* @return the tags value
*/
public Map tags() {
return this.tags;
}
/**
* Set the tags value.
*
* @param tags the tags value to set
* @return the KeyUpdateParameters object itself.
*/
public KeyUpdateParameters withTags(Map tags) {
this.tags = tags;
return this;
}
}