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

com.pulumi.azurenative.appplatform.inputs.MarketplaceResourceArgs 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.appplatform.inputs;

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;


/**
 * Purchasing 3rd Party product for one Azure Spring Apps instance
 * 
 */
public final class MarketplaceResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final MarketplaceResourceArgs Empty = new MarketplaceResourceArgs();

    /**
     * The plan id of the 3rd Party Artifact that is being procured.
     * 
     */
    @Import(name="plan")
    private @Nullable Output plan;

    /**
     * @return The plan id of the 3rd Party Artifact that is being procured.
     * 
     */
    public Optional> plan() {
        return Optional.ofNullable(this.plan);
    }

    /**
     * The 3rd Party artifact that is being procured.
     * 
     */
    @Import(name="product")
    private @Nullable Output product;

    /**
     * @return The 3rd Party artifact that is being procured.
     * 
     */
    public Optional> product() {
        return Optional.ofNullable(this.product);
    }

    /**
     * The publisher id of the 3rd Party Artifact that is being bought.
     * 
     */
    @Import(name="publisher")
    private @Nullable Output publisher;

    /**
     * @return The publisher id of the 3rd Party Artifact that is being bought.
     * 
     */
    public Optional> publisher() {
        return Optional.ofNullable(this.publisher);
    }

    private MarketplaceResourceArgs() {}

    private MarketplaceResourceArgs(MarketplaceResourceArgs $) {
        this.plan = $.plan;
        this.product = $.product;
        this.publisher = $.publisher;
    }

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

    public static final class Builder {
        private MarketplaceResourceArgs $;

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

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

        /**
         * @param plan The plan id of the 3rd Party Artifact that is being procured.
         * 
         * @return builder
         * 
         */
        public Builder plan(@Nullable Output plan) {
            $.plan = plan;
            return this;
        }

        /**
         * @param plan The plan id of the 3rd Party Artifact that is being procured.
         * 
         * @return builder
         * 
         */
        public Builder plan(String plan) {
            return plan(Output.of(plan));
        }

        /**
         * @param product The 3rd Party artifact that is being procured.
         * 
         * @return builder
         * 
         */
        public Builder product(@Nullable Output product) {
            $.product = product;
            return this;
        }

        /**
         * @param product The 3rd Party artifact that is being procured.
         * 
         * @return builder
         * 
         */
        public Builder product(String product) {
            return product(Output.of(product));
        }

        /**
         * @param publisher The publisher id of the 3rd Party Artifact that is being bought.
         * 
         * @return builder
         * 
         */
        public Builder publisher(@Nullable Output publisher) {
            $.publisher = publisher;
            return this;
        }

        /**
         * @param publisher The publisher id of the 3rd Party Artifact that is being bought.
         * 
         * @return builder
         * 
         */
        public Builder publisher(String publisher) {
            return publisher(Output.of(publisher));
        }

        public MarketplaceResourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy