Class SecretBundle
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.custom.SecretBundle
-
- com.microsoft.azure.keyvault.models.SecretBundle
-
- Direct Known Subclasses:
DeletedSecretBundle
public class SecretBundle extends SecretBundle
A secret consisting of a value, id and its attributes.
-
-
Constructor Summary
Constructors Constructor Description SecretBundle()
-
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.Stringkid()Get the kid value.Booleanmanaged()Get the managed value.Map<String,String>tags()Get the tags value.Stringvalue()Get the value value.SecretBundlewithAttributes(SecretAttributes attributes)Set the attributes value.SecretBundlewithContentType(String contentType)Set the contentType value.SecretBundlewithId(String id)Set the id value.SecretBundlewithTags(Map<String,String> tags)Set the tags value.SecretBundlewithValue(String value)Set the value value.-
Methods inherited from class com.microsoft.azure.keyvault.models.custom.SecretBundle
secretIdentifier, toString
-
-
-
-
Method Detail
-
value
public String value()
Get the value value.- Returns:
- the value value
-
withValue
public SecretBundle withValue(String value)
Set the value value.- Parameters:
value- the value value to set- Returns:
- the SecretBundle object itself.
-
id
public String id()
Get the id value.- Overrides:
idin classSecretBundle- Returns:
- the id value
-
withId
public SecretBundle withId(String id)
Set the id value.- Parameters:
id- the id value to set- Returns:
- the SecretBundle object itself.
-
contentType
public String contentType()
Get the contentType value.- Returns:
- the contentType value
-
withContentType
public SecretBundle withContentType(String contentType)
Set the contentType value.- Parameters:
contentType- the contentType value to set- Returns:
- the SecretBundle object itself.
-
attributes
public SecretAttributes attributes()
Get the attributes value.- Returns:
- the attributes value
-
withAttributes
public SecretBundle withAttributes(SecretAttributes attributes)
Set the attributes value.- Parameters:
attributes- the attributes value to set- Returns:
- the SecretBundle object itself.
-
withTags
public SecretBundle withTags(Map<String,String> tags)
Set the tags value.- Parameters:
tags- the tags value to set- Returns:
- the SecretBundle object itself.
-
kid
public String kid()
Get the kid value.- Returns:
- the kid value
-
managed
public Boolean managed()
Get the managed value.- Returns:
- the managed value
-
-