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

com.pulumi.azurenative.resources.inputs.ParametersLinkArgs 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.resources.inputs;

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


/**
 * Entity representing the reference to the deployment parameters.
 * 
 */
public final class ParametersLinkArgs extends com.pulumi.resources.ResourceArgs {

    public static final ParametersLinkArgs Empty = new ParametersLinkArgs();

    /**
     * If included, must match the ContentVersion in the template.
     * 
     */
    @Import(name="contentVersion")
    private @Nullable Output contentVersion;

    /**
     * @return If included, must match the ContentVersion in the template.
     * 
     */
    public Optional> contentVersion() {
        return Optional.ofNullable(this.contentVersion);
    }

    /**
     * The URI of the parameters file.
     * 
     */
    @Import(name="uri", required=true)
    private Output uri;

    /**
     * @return The URI of the parameters file.
     * 
     */
    public Output uri() {
        return this.uri;
    }

    private ParametersLinkArgs() {}

    private ParametersLinkArgs(ParametersLinkArgs $) {
        this.contentVersion = $.contentVersion;
        this.uri = $.uri;
    }

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

    public static final class Builder {
        private ParametersLinkArgs $;

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

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

        /**
         * @param contentVersion If included, must match the ContentVersion in the template.
         * 
         * @return builder
         * 
         */
        public Builder contentVersion(@Nullable Output contentVersion) {
            $.contentVersion = contentVersion;
            return this;
        }

        /**
         * @param contentVersion If included, must match the ContentVersion in the template.
         * 
         * @return builder
         * 
         */
        public Builder contentVersion(String contentVersion) {
            return contentVersion(Output.of(contentVersion));
        }

        /**
         * @param uri The URI of the parameters file.
         * 
         * @return builder
         * 
         */
        public Builder uri(Output uri) {
            $.uri = uri;
            return this;
        }

        /**
         * @param uri The URI of the parameters file.
         * 
         * @return builder
         * 
         */
        public Builder uri(String uri) {
            return uri(Output.of(uri));
        }

        public ParametersLinkArgs build() {
            if ($.uri == null) {
                throw new MissingRequiredPropertyException("ParametersLinkArgs", "uri");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy