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

com.pulumi.azure.operationalinsights.inputs.AnalyticsSolutionPlanArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.operationalinsights.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;


public final class AnalyticsSolutionPlanArgs extends com.pulumi.resources.ResourceArgs {

    public static final AnalyticsSolutionPlanArgs Empty = new AnalyticsSolutionPlanArgs();

    @Import(name="name")
    private @Nullable Output name;

    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="product", required=true)
    private Output product;

    /**
     * @return The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.
     * 
     */
    public Output product() {
        return this.product;
    }

    /**
     * A promotion code to be used with the solution. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="promotionCode")
    private @Nullable Output promotionCode;

    /**
     * @return A promotion code to be used with the solution. Changing this forces a new resource to be created.
     * 
     */
    public Optional> promotionCode() {
        return Optional.ofNullable(this.promotionCode);
    }

    /**
     * The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="publisher", required=true)
    private Output publisher;

    /**
     * @return The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.
     * 
     */
    public Output publisher() {
        return this.publisher;
    }

    private AnalyticsSolutionPlanArgs() {}

    private AnalyticsSolutionPlanArgs(AnalyticsSolutionPlanArgs $) {
        this.name = $.name;
        this.product = $.product;
        this.promotionCode = $.promotionCode;
        this.publisher = $.publisher;
    }

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

    public static final class Builder {
        private AnalyticsSolutionPlanArgs $;

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

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

        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param product The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder product(Output product) {
            $.product = product;
            return this;
        }

        /**
         * @param product The product name of the solution. For example `OMSGallery/Containers`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder product(String product) {
            return product(Output.of(product));
        }

        /**
         * @param promotionCode A promotion code to be used with the solution. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder promotionCode(@Nullable Output promotionCode) {
            $.promotionCode = promotionCode;
            return this;
        }

        /**
         * @param promotionCode A promotion code to be used with the solution. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder promotionCode(String promotionCode) {
            return promotionCode(Output.of(promotionCode));
        }

        /**
         * @param publisher The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder publisher(Output publisher) {
            $.publisher = publisher;
            return this;
        }

        /**
         * @param publisher The publisher of the solution. For example `Microsoft`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder publisher(String publisher) {
            return publisher(Output.of(publisher));
        }

        public AnalyticsSolutionPlanArgs build() {
            if ($.product == null) {
                throw new MissingRequiredPropertyException("AnalyticsSolutionPlanArgs", "product");
            }
            if ($.publisher == null) {
                throw new MissingRequiredPropertyException("AnalyticsSolutionPlanArgs", "publisher");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy