public static class SetSecretRequest.Builder extends Object
SetSecretRequest builder.| Constructor and Description |
|---|
Builder(String vaultBaseUrl,
String secretName,
String value)
The builder for constructing
SetSecretRequest object. |
| Modifier and Type | Method and Description |
|---|---|
SetSecretRequest |
build()
builds the
SetSecretRequest object. |
SetSecretRequest.Builder |
withAttributes(Attributes attributes)
Set the attributes value.
|
SetSecretRequest.Builder |
withContentType(String contentType)
Set the content type value.
|
SetSecretRequest.Builder |
withTags(Map<String,String> tags)
Set the tags value.
|
public Builder(String vaultBaseUrl, String secretName, String value)
SetSecretRequest object.vaultBaseUrl - The vault name, e.g. https://myvault.vault.azure.netsecretName - The name of the secret in the given vaultvalue - The value of the secretpublic SetSecretRequest.Builder withContentType(String contentType)
contentType - Type of the secret value such as a passwordpublic SetSecretRequest.Builder withAttributes(Attributes attributes)
attributes - The secret management attributes.public SetSecretRequest.Builder withTags(Map<String,String> tags)
tags - Application-specific metadata in the form of key-value
pairs.public SetSecretRequest build()
SetSecretRequest object.SetSecretRequest object./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/