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

com.pulumi.azurenative.hybridnetwork.inputs.SecretDeploymentResourceReferenceArgs Maven / Gradle / Ivy

The 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.hybridnetwork.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;


/**
 * Secret deployment resource id reference.
 * 
 */
public final class SecretDeploymentResourceReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final SecretDeploymentResourceReferenceArgs Empty = new SecretDeploymentResourceReferenceArgs();

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The resource reference arm id type.
     * Expected value is 'Secret'.
     * 
     */
    @Import(name="idType", required=true)
    private Output idType;

    /**
     * @return The resource reference arm id type.
     * Expected value is 'Secret'.
     * 
     */
    public Output idType() {
        return this.idType;
    }

    private SecretDeploymentResourceReferenceArgs() {}

    private SecretDeploymentResourceReferenceArgs(SecretDeploymentResourceReferenceArgs $) {
        this.id = $.id;
        this.idType = $.idType;
    }

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

    public static final class Builder {
        private SecretDeploymentResourceReferenceArgs $;

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

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

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param idType The resource reference arm id type.
         * Expected value is 'Secret'.
         * 
         * @return builder
         * 
         */
        public Builder idType(Output idType) {
            $.idType = idType;
            return this;
        }

        /**
         * @param idType The resource reference arm id type.
         * Expected value is 'Secret'.
         * 
         * @return builder
         * 
         */
        public Builder idType(String idType) {
            return idType(Output.of(idType));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy