All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.keyvault.inputs.SecretPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.keyvault.inputs;

import com.pulumi.azurenative.keyvault.inputs.SecretAttributesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of the secret
 * 
 */
public final class SecretPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SecretPropertiesArgs Empty = new SecretPropertiesArgs();

    /**
     * The attributes of the secret.
     * 
     */
    @Import(name="attributes")
    private @Nullable Output attributes;

    /**
     * @return The attributes of the secret.
     * 
     */
    public Optional> attributes() {
        return Optional.ofNullable(this.attributes);
    }

    /**
     * The content type of the secret.
     * 
     */
    @Import(name="contentType")
    private @Nullable Output contentType;

    /**
     * @return The content type of the secret.
     * 
     */
    public Optional> contentType() {
        return Optional.ofNullable(this.contentType);
    }

    /**
     * The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private SecretPropertiesArgs() {}

    private SecretPropertiesArgs(SecretPropertiesArgs $) {
        this.attributes = $.attributes;
        this.contentType = $.contentType;
        this.value = $.value;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(SecretPropertiesArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private SecretPropertiesArgs $;

        public Builder() {
            $ = new SecretPropertiesArgs();
        }

        public Builder(SecretPropertiesArgs defaults) {
            $ = new SecretPropertiesArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param attributes The attributes of the secret.
         * 
         * @return builder
         * 
         */
        public Builder attributes(@Nullable Output attributes) {
            $.attributes = attributes;
            return this;
        }

        /**
         * @param attributes The attributes of the secret.
         * 
         * @return builder
         * 
         */
        public Builder attributes(SecretAttributesArgs attributes) {
            return attributes(Output.of(attributes));
        }

        /**
         * @param contentType The content type of the secret.
         * 
         * @return builder
         * 
         */
        public Builder contentType(@Nullable Output contentType) {
            $.contentType = contentType;
            return this;
        }

        /**
         * @param contentType The content type of the secret.
         * 
         * @return builder
         * 
         */
        public Builder contentType(String contentType) {
            return contentType(Output.of(contentType));
        }

        /**
         * @param value The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public SecretPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy