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

com.pulumi.azurenative.servicelinker.inputs.DaprPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.servicelinker.inputs;

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


/**
 * Indicates some additional properties for dapr client type
 * 
 */
public final class DaprPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final DaprPropertiesArgs Empty = new DaprPropertiesArgs();

    /**
     * The dapr component type
     * 
     */
    @Import(name="componentType")
    private @Nullable Output componentType;

    /**
     * @return The dapr component type
     * 
     */
    public Optional> componentType() {
        return Optional.ofNullable(this.componentType);
    }

    /**
     * Additional dapr metadata
     * 
     */
    @Import(name="metadata")
    private @Nullable Output> metadata;

    /**
     * @return Additional dapr metadata
     * 
     */
    public Optional>> metadata() {
        return Optional.ofNullable(this.metadata);
    }

    /**
     * The dapr component scopes
     * 
     */
    @Import(name="scopes")
    private @Nullable Output> scopes;

    /**
     * @return The dapr component scopes
     * 
     */
    public Optional>> scopes() {
        return Optional.ofNullable(this.scopes);
    }

    /**
     * The name of a secret store dapr to retrieve secret
     * 
     */
    @Import(name="secretStoreComponent")
    private @Nullable Output secretStoreComponent;

    /**
     * @return The name of a secret store dapr to retrieve secret
     * 
     */
    public Optional> secretStoreComponent() {
        return Optional.ofNullable(this.secretStoreComponent);
    }

    /**
     * The dapr component version
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The dapr component version
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private DaprPropertiesArgs() {}

    private DaprPropertiesArgs(DaprPropertiesArgs $) {
        this.componentType = $.componentType;
        this.metadata = $.metadata;
        this.scopes = $.scopes;
        this.secretStoreComponent = $.secretStoreComponent;
        this.version = $.version;
    }

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

    public static final class Builder {
        private DaprPropertiesArgs $;

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

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

        /**
         * @param componentType The dapr component type
         * 
         * @return builder
         * 
         */
        public Builder componentType(@Nullable Output componentType) {
            $.componentType = componentType;
            return this;
        }

        /**
         * @param componentType The dapr component type
         * 
         * @return builder
         * 
         */
        public Builder componentType(String componentType) {
            return componentType(Output.of(componentType));
        }

        /**
         * @param metadata Additional dapr metadata
         * 
         * @return builder
         * 
         */
        public Builder metadata(@Nullable Output> metadata) {
            $.metadata = metadata;
            return this;
        }

        /**
         * @param metadata Additional dapr metadata
         * 
         * @return builder
         * 
         */
        public Builder metadata(List metadata) {
            return metadata(Output.of(metadata));
        }

        /**
         * @param metadata Additional dapr metadata
         * 
         * @return builder
         * 
         */
        public Builder metadata(DaprMetadataArgs... metadata) {
            return metadata(List.of(metadata));
        }

        /**
         * @param scopes The dapr component scopes
         * 
         * @return builder
         * 
         */
        public Builder scopes(@Nullable Output> scopes) {
            $.scopes = scopes;
            return this;
        }

        /**
         * @param scopes The dapr component scopes
         * 
         * @return builder
         * 
         */
        public Builder scopes(List scopes) {
            return scopes(Output.of(scopes));
        }

        /**
         * @param scopes The dapr component scopes
         * 
         * @return builder
         * 
         */
        public Builder scopes(String... scopes) {
            return scopes(List.of(scopes));
        }

        /**
         * @param secretStoreComponent The name of a secret store dapr to retrieve secret
         * 
         * @return builder
         * 
         */
        public Builder secretStoreComponent(@Nullable Output secretStoreComponent) {
            $.secretStoreComponent = secretStoreComponent;
            return this;
        }

        /**
         * @param secretStoreComponent The name of a secret store dapr to retrieve secret
         * 
         * @return builder
         * 
         */
        public Builder secretStoreComponent(String secretStoreComponent) {
            return secretStoreComponent(Output.of(secretStoreComponent));
        }

        /**
         * @param version The dapr component version
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The dapr component version
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public DaprPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy