Class SecretItem
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.SecretItem
-
- Direct Known Subclasses:
DeletedSecretItem
public class SecretItem extends Object
The secret item containing secret metadata.
-
-
Constructor Summary
Constructors Constructor Description SecretItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretAttributesattributes()Get the attributes value.StringcontentType()Get the contentType value.Stringid()Get the id value.Booleanmanaged()Get the managed value.Map<String,String>tags()Get the tags value.SecretItemwithAttributes(SecretAttributes attributes)Set the attributes value.SecretItemwithContentType(String contentType)Set the contentType value.SecretItemwithId(String id)Set the id value.SecretItemwithTags(Map<String,String> tags)Set the tags value.
-
-
-
Method Detail
-
id
public String id()
Get the id value.- Returns:
- the id value
-
withId
public SecretItem withId(String id)
Set the id value.- Parameters:
id- the id value to set- Returns:
- the SecretItem object itself.
-
attributes
public SecretAttributes attributes()
Get the attributes value.- Returns:
- the attributes value
-
withAttributes
public SecretItem withAttributes(SecretAttributes attributes)
Set the attributes value.- Parameters:
attributes- the attributes value to set- Returns:
- the SecretItem object itself.
-
withTags
public SecretItem withTags(Map<String,String> tags)
Set the tags value.- Parameters:
tags- the tags value to set- Returns:
- the SecretItem object itself.
-
contentType
public String contentType()
Get the contentType value.- Returns:
- the contentType value
-
withContentType
public SecretItem withContentType(String contentType)
Set the contentType value.- Parameters:
contentType- the contentType value to set- Returns:
- the SecretItem object itself.
-
managed
public Boolean managed()
Get the managed value.- Returns:
- the managed value
-
-