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

com.pulumi.azurenative.servicefabricmesh.inputs.SecretResourcePropertiesArgs Maven / Gradle / Ivy

// *** 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.servicefabricmesh.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Describes the properties of a secret resource.
 * 
 */
public final class SecretResourcePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SecretResourcePropertiesArgs Empty = new SecretResourcePropertiesArgs();

    /**
     * The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
     * 
     */
    @Import(name="contentType")
    private @Nullable Output contentType;

    /**
     * @return The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
     * 
     */
    public Optional> contentType() {
        return Optional.ofNullable(this.contentType);
    }

    /**
     * User readable description of the secret.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return User readable description of the secret.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Describes the kind of secret.
     * Expected value is 'SecretResourceProperties'.
     * 
     */
    @Import(name="kind", required=true)
    private Output kind;

    /**
     * @return Describes the kind of secret.
     * Expected value is 'SecretResourceProperties'.
     * 
     */
    public Output kind() {
        return this.kind;
    }

    private SecretResourcePropertiesArgs() {}

    private SecretResourcePropertiesArgs(SecretResourcePropertiesArgs $) {
        this.contentType = $.contentType;
        this.description = $.description;
        this.kind = $.kind;
    }

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

    public static final class Builder {
        private SecretResourcePropertiesArgs $;

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

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

        /**
         * @param contentType The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
         * 
         * @return builder
         * 
         */
        public Builder contentType(@Nullable Output contentType) {
            $.contentType = contentType;
            return this;
        }

        /**
         * @param contentType The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
         * 
         * @return builder
         * 
         */
        public Builder contentType(String contentType) {
            return contentType(Output.of(contentType));
        }

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

        /**
         * @param description User readable description of the secret.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param kind Describes the kind of secret.
         * Expected value is 'SecretResourceProperties'.
         * 
         * @return builder
         * 
         */
        public Builder kind(Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind Describes the kind of secret.
         * Expected value is 'SecretResourceProperties'.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        public SecretResourcePropertiesArgs build() {
            $.kind = Codegen.stringProp("kind").output().arg($.kind).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy