SecretItem Class

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

public class SecretItem

The secret item containing secret metadata.

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.

SecretIdentifier identifier()

the secret identifier.

Boolean managed()

Get the managed value.

Map<String, String> tags()

Get the tags value.

SecretItem withAttributes(SecretAttributes attributes)

Set the attributes value.

SecretItem withContentType(String contentType)

Set the contentType value.

SecretItem withId(String id)

Set the id value.

SecretItem withTags(Map<String, String> tags)

Set the tags 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

identifier

public SecretIdentifier identifier()

the secret identifier.

Returns:

The Identifier 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 SecretItem withAttributes(SecretAttributes attributes)

Set the attributes value.

Parameters:

attributes - the attributes value to set

Returns:

the SecretItem object itself.

withContentType

public SecretItem withContentType(String contentType)

Set the contentType value.

Parameters:

contentType - the contentType value to set

Returns:

the SecretItem object itself.

withId

public SecretItem withId(String id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the SecretItem object itself.

withTags

public SecretItem withTags(Map tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the SecretItem object itself.

Applies to