KeyBundle Class

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

public class KeyBundle

A KeyBundle consisting of a WebKey plus its attributes.

Method Summary

Modifier and Type Method and Description
KeyAttributes attributes()

Get the attributes value.

JsonWebKey key()

Get the key value.

KeyIdentifier keyIdentifier()

The key identifier.

Boolean managed()

Get the managed value.

Map<String, String> tags()

Get the tags value.

String toString()
KeyBundle withAttributes(KeyAttributes attributes)

Set the attributes value.

KeyBundle withKey(JsonWebKey key)

Set the key value.

KeyBundle withTags(Map<String, String> tags)

Set the tags value.

Method Details

attributes

public KeyAttributes attributes()

Get the attributes value.

Returns:

the attributes value

key

public JsonWebKey key()

Get the key value.

Returns:

the key value

keyIdentifier

public KeyIdentifier keyIdentifier()

The key identifier.

Returns:

identifier for the key

managed

public Boolean managed()

Get the managed value.

Returns:

the managed value

tags

public Map tags()

Get the tags value.

Returns:

the tags value

toString

public String toString()

withAttributes

public KeyBundle withAttributes(KeyAttributes attributes)

Set the attributes value.

Parameters:

attributes - the attributes value to set

Returns:

the KeyBundle object itself.

withKey

public KeyBundle withKey(JsonWebKey key)

Set the key value.

Parameters:

key - the key value to set

Returns:

the KeyBundle object itself.

withTags

public KeyBundle withTags(Map tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the KeyBundle object itself.

Applies to