SecretItem Class
- java.
lang. Object - com.
microsoft. azure. keyvault. models. SecretItem
- com.
public class SecretItem
The secret item containing secret metadata.
Method Summary
Modifier and Type | Method and Description |
---|---|
Secret |
attributes()
Get the attributes value. |
String |
contentType()
Get the contentType value. |
String |
id()
Get the id value. |
Secret |
identifier()
the secret identifier. |
Boolean |
managed()
Get the managed value. |
Map<String, String> |
tags()
Get the tags value. |
Secret |
withAttributes(SecretAttributes attributes)
Set the attributes value. |
Secret |
withContentType(String contentType)
Set the contentType value. |
Secret |
withId(String id)
Set the id value. |
Secret |
withTags(Map<String, String> tags)
Set the tags value. |
Method Details
attributes
public SecretAttributes attributes()
Get the attributes value.
Returns:
contentType
public String contentType()
Get the contentType value.
Returns:
id
public String id()
Get the id value.
Returns:
identifier
public SecretIdentifier identifier()
the secret identifier.
Returns:
managed
public Boolean managed()
Get the managed value.
Returns:
tags
public Map
Get the tags value.
Returns:
withAttributes
public SecretItem withAttributes(SecretAttributes attributes)
Set the attributes value.
Parameters:
Returns:
withContentType
public SecretItem withContentType(String contentType)
Set the contentType value.
Parameters:
Returns:
withId
public SecretItem withId(String id)
Set the id value.
Parameters:
Returns:
withTags
public SecretItem withTags(Map
Set the tags value.
Parameters:
Returns:
Applies to
Azure SDK for Java