Class SecretItem

  • Direct Known Subclasses:
    DeletedSecretItem

    public class SecretItem
    extends Object
    The secret item containing secret metadata.
    • Constructor Detail

      • SecretItem

        public SecretItem()
    • Method Detail

      • id

        public String id()
        Get the id value.
        Returns:
        the id value
      • withId

        public SecretItem withId​(String id)
        Set the id value.
        Parameters:
        id - the id value to set
        Returns:
        the SecretItem object itself.
      • attributes

        public SecretAttributes attributes()
        Get the attributes value.
        Returns:
        the attributes value
      • withAttributes

        public SecretItem withAttributes​(SecretAttributes attributes)
        Set the attributes value.
        Parameters:
        attributes - the attributes value to set
        Returns:
        the SecretItem object itself.
      • tags

        public Map<String,​String> tags()
        Get the tags value.
        Returns:
        the tags value
      • withTags

        public SecretItem withTags​(Map<String,​String> tags)
        Set the tags value.
        Parameters:
        tags - the tags value to set
        Returns:
        the SecretItem object itself.
      • contentType

        public String contentType()
        Get the contentType value.
        Returns:
        the contentType value
      • withContentType

        public SecretItem withContentType​(String contentType)
        Set the contentType value.
        Parameters:
        contentType - the contentType value to set
        Returns:
        the SecretItem object itself.
      • managed

        public Boolean managed()
        Get the managed value.
        Returns:
        the managed value