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 SecretAttributes
attributes()
Get the attributes value.String
contentType()
Get the contentType value.String
id()
Get the id value.Boolean
managed()
Get the managed value.Map<String,String>
tags()
Get the tags value.SecretItem
withAttributes(SecretAttributes attributes)
Set the attributes value.SecretItem
withContentType(String contentType)
Set the contentType value.SecretItem
withId(String id)
Set the id value.SecretItem
withTags(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
-
-