Class KeyItem
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.KeyItem
-
- Direct Known Subclasses:
DeletedKeyItem
public class KeyItem extends Object
The key item containing key metadata.
-
-
Constructor Summary
Constructors Constructor Description KeyItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyAttributesattributes()Get the attributes value.Stringkid()Get the kid value.Booleanmanaged()Get the managed value.Map<String,String>tags()Get the tags value.KeyItemwithAttributes(KeyAttributes attributes)Set the attributes value.KeyItemwithKid(String kid)Set the kid value.KeyItemwithTags(Map<String,String> tags)Set the tags value.
-
-
-
Method Detail
-
kid
public String kid()
Get the kid value.- Returns:
- the kid value
-
withKid
public KeyItem withKid(String kid)
Set the kid value.- Parameters:
kid- the kid value to set- Returns:
- the KeyItem object itself.
-
attributes
public KeyAttributes attributes()
Get the attributes value.- Returns:
- the attributes value
-
withAttributes
public KeyItem withAttributes(KeyAttributes attributes)
Set the attributes value.- Parameters:
attributes- the attributes value to set- Returns:
- the KeyItem object itself.
-
withTags
public KeyItem withTags(Map<String,String> tags)
Set the tags value.- Parameters:
tags- the tags value to set- Returns:
- the KeyItem object itself.
-
managed
public Boolean managed()
Get the managed value.- Returns:
- the managed value
-
-