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

com.pulumi.azurenative.agfoodplatform.inputs.SolutionPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.agfoodplatform.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;


/**
 * Solution resource properties.
 * 
 */
public final class SolutionPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SolutionPropertiesArgs Empty = new SolutionPropertiesArgs();

    /**
     * SaaS application Marketplace Publisher Id.
     * 
     */
    @Import(name="marketplacePublisherId", required=true)
    private Output marketplacePublisherId;

    /**
     * @return SaaS application Marketplace Publisher Id.
     * 
     */
    public Output marketplacePublisherId() {
        return this.marketplacePublisherId;
    }

    /**
     * SaaS application Offer Id.
     * 
     */
    @Import(name="offerId", required=true)
    private Output offerId;

    /**
     * @return SaaS application Offer Id.
     * 
     */
    public Output offerId() {
        return this.offerId;
    }

    /**
     * SaaS application Plan Id.
     * 
     */
    @Import(name="planId", required=true)
    private Output planId;

    /**
     * @return SaaS application Plan Id.
     * 
     */
    public Output planId() {
        return this.planId;
    }

    /**
     * Role Assignment Id.
     * 
     */
    @Import(name="roleAssignmentId")
    private @Nullable Output roleAssignmentId;

    /**
     * @return Role Assignment Id.
     * 
     */
    public Optional> roleAssignmentId() {
        return Optional.ofNullable(this.roleAssignmentId);
    }

    /**
     * SaaS subscriptionId of the installed SaaS application.
     * 
     */
    @Import(name="saasSubscriptionId", required=true)
    private Output saasSubscriptionId;

    /**
     * @return SaaS subscriptionId of the installed SaaS application.
     * 
     */
    public Output saasSubscriptionId() {
        return this.saasSubscriptionId;
    }

    /**
     * SaaS subscription name of the installed SaaS application.
     * 
     */
    @Import(name="saasSubscriptionName", required=true)
    private Output saasSubscriptionName;

    /**
     * @return SaaS subscription name of the installed SaaS application.
     * 
     */
    public Output saasSubscriptionName() {
        return this.saasSubscriptionName;
    }

    /**
     * SaaS application Term Id.
     * 
     */
    @Import(name="termId", required=true)
    private Output termId;

    /**
     * @return SaaS application Term Id.
     * 
     */
    public Output termId() {
        return this.termId;
    }

    private SolutionPropertiesArgs() {}

    private SolutionPropertiesArgs(SolutionPropertiesArgs $) {
        this.marketplacePublisherId = $.marketplacePublisherId;
        this.offerId = $.offerId;
        this.planId = $.planId;
        this.roleAssignmentId = $.roleAssignmentId;
        this.saasSubscriptionId = $.saasSubscriptionId;
        this.saasSubscriptionName = $.saasSubscriptionName;
        this.termId = $.termId;
    }

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

    public static final class Builder {
        private SolutionPropertiesArgs $;

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

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

        /**
         * @param marketplacePublisherId SaaS application Marketplace Publisher Id.
         * 
         * @return builder
         * 
         */
        public Builder marketplacePublisherId(Output marketplacePublisherId) {
            $.marketplacePublisherId = marketplacePublisherId;
            return this;
        }

        /**
         * @param marketplacePublisherId SaaS application Marketplace Publisher Id.
         * 
         * @return builder
         * 
         */
        public Builder marketplacePublisherId(String marketplacePublisherId) {
            return marketplacePublisherId(Output.of(marketplacePublisherId));
        }

        /**
         * @param offerId SaaS application Offer Id.
         * 
         * @return builder
         * 
         */
        public Builder offerId(Output offerId) {
            $.offerId = offerId;
            return this;
        }

        /**
         * @param offerId SaaS application Offer Id.
         * 
         * @return builder
         * 
         */
        public Builder offerId(String offerId) {
            return offerId(Output.of(offerId));
        }

        /**
         * @param planId SaaS application Plan Id.
         * 
         * @return builder
         * 
         */
        public Builder planId(Output planId) {
            $.planId = planId;
            return this;
        }

        /**
         * @param planId SaaS application Plan Id.
         * 
         * @return builder
         * 
         */
        public Builder planId(String planId) {
            return planId(Output.of(planId));
        }

        /**
         * @param roleAssignmentId Role Assignment Id.
         * 
         * @return builder
         * 
         */
        public Builder roleAssignmentId(@Nullable Output roleAssignmentId) {
            $.roleAssignmentId = roleAssignmentId;
            return this;
        }

        /**
         * @param roleAssignmentId Role Assignment Id.
         * 
         * @return builder
         * 
         */
        public Builder roleAssignmentId(String roleAssignmentId) {
            return roleAssignmentId(Output.of(roleAssignmentId));
        }

        /**
         * @param saasSubscriptionId SaaS subscriptionId of the installed SaaS application.
         * 
         * @return builder
         * 
         */
        public Builder saasSubscriptionId(Output saasSubscriptionId) {
            $.saasSubscriptionId = saasSubscriptionId;
            return this;
        }

        /**
         * @param saasSubscriptionId SaaS subscriptionId of the installed SaaS application.
         * 
         * @return builder
         * 
         */
        public Builder saasSubscriptionId(String saasSubscriptionId) {
            return saasSubscriptionId(Output.of(saasSubscriptionId));
        }

        /**
         * @param saasSubscriptionName SaaS subscription name of the installed SaaS application.
         * 
         * @return builder
         * 
         */
        public Builder saasSubscriptionName(Output saasSubscriptionName) {
            $.saasSubscriptionName = saasSubscriptionName;
            return this;
        }

        /**
         * @param saasSubscriptionName SaaS subscription name of the installed SaaS application.
         * 
         * @return builder
         * 
         */
        public Builder saasSubscriptionName(String saasSubscriptionName) {
            return saasSubscriptionName(Output.of(saasSubscriptionName));
        }

        /**
         * @param termId SaaS application Term Id.
         * 
         * @return builder
         * 
         */
        public Builder termId(Output termId) {
            $.termId = termId;
            return this;
        }

        /**
         * @param termId SaaS application Term Id.
         * 
         * @return builder
         * 
         */
        public Builder termId(String termId) {
            return termId(Output.of(termId));
        }

        public SolutionPropertiesArgs build() {
            if ($.marketplacePublisherId == null) {
                throw new MissingRequiredPropertyException("SolutionPropertiesArgs", "marketplacePublisherId");
            }
            if ($.offerId == null) {
                throw new MissingRequiredPropertyException("SolutionPropertiesArgs", "offerId");
            }
            if ($.planId == null) {
                throw new MissingRequiredPropertyException("SolutionPropertiesArgs", "planId");
            }
            if ($.saasSubscriptionId == null) {
                throw new MissingRequiredPropertyException("SolutionPropertiesArgs", "saasSubscriptionId");
            }
            if ($.saasSubscriptionName == null) {
                throw new MissingRequiredPropertyException("SolutionPropertiesArgs", "saasSubscriptionName");
            }
            if ($.termId == null) {
                throw new MissingRequiredPropertyException("SolutionPropertiesArgs", "termId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy