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 SecretAttributes
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.Map<String,String>
tags()
Get the tags value.String
value()
Get the value value.SecretBundle
withAttributes(SecretAttributes attributes)
Set the attributes value.SecretBundle
withContentType(String contentType)
Set the contentType value.SecretBundle
withId(String id)
Set the id value.SecretBundle
withTags(Map<String,String> tags)
Set the tags value.SecretBundle
withValue(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:
id
in 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
-
-