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

com.pulumi.azurenative.edgeorder.inputs.ProductDetailsArgs 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.edgeorder.inputs;

import com.pulumi.azurenative.edgeorder.inputs.AdditionalConfigurationArgs;
import com.pulumi.azurenative.edgeorder.inputs.HierarchyInformationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Represents product details
 * 
 */
public final class ProductDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProductDetailsArgs Empty = new ProductDetailsArgs();

    /**
     * Hierarchy of the product which uniquely identifies the product
     * 
     */
    @Import(name="hierarchyInformation", required=true)
    private Output hierarchyInformation;

    /**
     * @return Hierarchy of the product which uniquely identifies the product
     * 
     */
    public Output hierarchyInformation() {
        return this.hierarchyInformation;
    }

    /**
     * List of additional configurations customer wants in the order item apart from the ones included in the base configuration.
     * 
     */
    @Import(name="optInAdditionalConfigurations")
    private @Nullable Output> optInAdditionalConfigurations;

    /**
     * @return List of additional configurations customer wants in the order item apart from the ones included in the base configuration.
     * 
     */
    public Optional>> optInAdditionalConfigurations() {
        return Optional.ofNullable(this.optInAdditionalConfigurations);
    }

    private ProductDetailsArgs() {}

    private ProductDetailsArgs(ProductDetailsArgs $) {
        this.hierarchyInformation = $.hierarchyInformation;
        this.optInAdditionalConfigurations = $.optInAdditionalConfigurations;
    }

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

    public static final class Builder {
        private ProductDetailsArgs $;

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

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

        /**
         * @param hierarchyInformation Hierarchy of the product which uniquely identifies the product
         * 
         * @return builder
         * 
         */
        public Builder hierarchyInformation(Output hierarchyInformation) {
            $.hierarchyInformation = hierarchyInformation;
            return this;
        }

        /**
         * @param hierarchyInformation Hierarchy of the product which uniquely identifies the product
         * 
         * @return builder
         * 
         */
        public Builder hierarchyInformation(HierarchyInformationArgs hierarchyInformation) {
            return hierarchyInformation(Output.of(hierarchyInformation));
        }

        /**
         * @param optInAdditionalConfigurations List of additional configurations customer wants in the order item apart from the ones included in the base configuration.
         * 
         * @return builder
         * 
         */
        public Builder optInAdditionalConfigurations(@Nullable Output> optInAdditionalConfigurations) {
            $.optInAdditionalConfigurations = optInAdditionalConfigurations;
            return this;
        }

        /**
         * @param optInAdditionalConfigurations List of additional configurations customer wants in the order item apart from the ones included in the base configuration.
         * 
         * @return builder
         * 
         */
        public Builder optInAdditionalConfigurations(List optInAdditionalConfigurations) {
            return optInAdditionalConfigurations(Output.of(optInAdditionalConfigurations));
        }

        /**
         * @param optInAdditionalConfigurations List of additional configurations customer wants in the order item apart from the ones included in the base configuration.
         * 
         * @return builder
         * 
         */
        public Builder optInAdditionalConfigurations(AdditionalConfigurationArgs... optInAdditionalConfigurations) {
            return optInAdditionalConfigurations(List.of(optInAdditionalConfigurations));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy