SecretBundle Class
- java.
lang. Object - com.
microsoft. azure. keyvault. models. SecretBundle
- com.
public class SecretBundle
A secret consisting of a value, id and its attributes.
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. |
String |
kid()
Get the kid value. |
Boolean |
managed()
Get the managed value. |
Secret |
secretIdentifier()
the secret identifier. |
Map<String, String> |
tags()
Get the tags value. |
String | toString() |
String |
value()
Get the value 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. |
Secret |
withValue(String value)
Set the value 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:
kid
public String kid()
Get the kid value.
Returns:
managed
public Boolean managed()
Get the managed value.
Returns:
secretIdentifier
public SecretIdentifier secretIdentifier()
the secret identifier.
Returns:
tags
public Map
Get the tags value.
Returns:
toString
public String toString()
value
public String value()
Get the value value.
Returns:
withAttributes
public SecretBundle withAttributes(SecretAttributes attributes)
Set the attributes value.
Parameters:
Returns:
withContentType
public SecretBundle withContentType(String contentType)
Set the contentType value.
Parameters:
Returns:
withId
public SecretBundle withId(String id)
Set the id value.
Parameters:
Returns:
withTags
public SecretBundle withTags(Map
Set the tags value.
Parameters:
Returns:
withValue
public SecretBundle withValue(String value)
Set the value value.
Parameters:
Returns: