共用方式為


SecretBundle Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.models.SecretBundle

public class SecretBundle

A secret consisting of a value, id and its attributes.

Method Summary

Modifier and Type Method and 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.

SecretIdentifier secretIdentifier()

the secret identifier.

Map<String, String> tags()

Get the tags value.

String toString()
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.

Method Details

attributes

public SecretAttributes attributes()

Get the attributes value.

Returns:

the attributes value

contentType

public String contentType()

Get the contentType value.

Returns:

the contentType value

id

public String id()

Get the id value.

Returns:

the id value

kid

public String kid()

Get the kid value.

Returns:

the kid value

managed

public Boolean managed()

Get the managed value.

Returns:

the managed value

secretIdentifier

public SecretIdentifier secretIdentifier()

the secret identifier.

Returns:

The Identifier value

tags

public Map tags()

Get the tags value.

Returns:

the tags value

toString

public String toString()

value

public String value()

Get the value value.

Returns:

the value value

withAttributes

public SecretBundle withAttributes(SecretAttributes attributes)

Set the attributes value.

Parameters:

attributes - the attributes value to set

Returns:

the SecretBundle object itself.

withContentType

public SecretBundle withContentType(String contentType)

Set the contentType value.

Parameters:

contentType - the contentType value to set

Returns:

the SecretBundle object itself.

withId

public SecretBundle withId(String id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the SecretBundle object itself.

withTags

public SecretBundle withTags(Map tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the SecretBundle object itself.

withValue

public SecretBundle withValue(String value)

Set the value value.

Parameters:

value - the value value to set

Returns:

the SecretBundle object itself.

Applies to