Class SetSecretRequest.Builder

    • Constructor Detail

      • Builder

        public Builder​(String vaultBaseUrl,
                       String secretName,
                       String value)
        The builder for constructing SetSecretRequest object.
        Parameters:
        vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.net
        secretName - The name of the secret in the given vault
        value - The value of the secret
    • Method Detail

      • withContentType

        public SetSecretRequest.Builder withContentType​(String contentType)
        Set the content type value.
        Parameters:
        contentType - Type of the secret value such as a password
        Returns:
        the Builder object itself.
      • withAttributes

        public SetSecretRequest.Builder withAttributes​(Attributes attributes)
        Set the attributes value.
        Parameters:
        attributes - The secret management attributes.
        Returns:
        the Builder object itself.
      • withTags

        public SetSecretRequest.Builder withTags​(Map<String,​String> tags)
        Set the tags value.
        Parameters:
        tags - Application-specific metadata in the form of key-value pairs.
        Returns:
        the Builder object itself.