KeyItem Class

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

public class KeyItem

The key item containing key metadata.

Method Summary

Modifier and Type Method and Description
KeyAttributes attributes()

Get the attributes value.

KeyIdentifier identifier()

The key identifier.

String kid()

Get the kid value.

Boolean managed()

Get the managed value.

Map<String, String> tags()

Get the tags value.

KeyItem withAttributes(KeyAttributes attributes)

Set the attributes value.

KeyItem withKid(String kid)

Set the kid value.

KeyItem withTags(Map<String, String> tags)

Set the tags value.

Method Details

attributes

public KeyAttributes attributes()

Get the attributes value.

Returns:

the attributes value

identifier

public KeyIdentifier identifier()

The key identifier.

Returns:

The Identifier 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

tags

public Map tags()

Get the tags value.

Returns:

the tags value

withAttributes

public KeyItem withAttributes(KeyAttributes attributes)

Set the attributes value.

Parameters:

attributes - the attributes value to set

Returns:

the KeyItem object itself.

withKid

public KeyItem withKid(String kid)

Set the kid value.

Parameters:

kid - the kid value to set

Returns:

the KeyItem object itself.

withTags

public KeyItem withTags(Map tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the KeyItem object itself.

Applies to