sdk/java/src/main/java/com/pulumi/ovh/Order/inputs/GetCartProductOptionsPlanPlainArgs.java
// *** 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.ovh.Order.inputs;

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


public final class GetCartProductOptionsPlanPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCartProductOptionsPlanPlainArgs Empty = new GetCartProductOptionsPlanPlainArgs();

    /**
     * Cart identifier
     * 
     */
    @Import(name="cartId", required=true)
    private String cartId;

    /**
     * @return Cart identifier
     * 
     */
    public String cartId() {
        return this.cartId;
    }

    /**
     * Catalog name
     * 
     */
    @Import(name="catalogName")
    private @Nullable String catalogName;

    /**
     * @return Catalog name
     * 
     */
    public Optional<String> catalogName() {
        return Optional.ofNullable(this.catalogName);
    }

    /**
     * options plan code.
     * 
     */
    @Import(name="optionsPlanCode", required=true)
    private String optionsPlanCode;

    /**
     * @return options plan code.
     * 
     */
    public String optionsPlanCode() {
        return this.optionsPlanCode;
    }

    /**
     * Product offer identifier
     * 
     */
    @Import(name="planCode", required=true)
    private String planCode;

    /**
     * @return Product offer identifier
     * 
     */
    public String planCode() {
        return this.planCode;
    }

    /**
     * Capacity of the pricing (type of pricing)
     * 
     */
    @Import(name="priceCapacity", required=true)
    private String priceCapacity;

    /**
     * @return Capacity of the pricing (type of pricing)
     * 
     */
    public String priceCapacity() {
        return this.priceCapacity;
    }

    /**
     * Product
     * 
     */
    @Import(name="product", required=true)
    private String product;

    /**
     * @return Product
     * 
     */
    public String product() {
        return this.product;
    }

    private GetCartProductOptionsPlanPlainArgs() {}

    private GetCartProductOptionsPlanPlainArgs(GetCartProductOptionsPlanPlainArgs $) {
        this.cartId = $.cartId;
        this.catalogName = $.catalogName;
        this.optionsPlanCode = $.optionsPlanCode;
        this.planCode = $.planCode;
        this.priceCapacity = $.priceCapacity;
        this.product = $.product;
    }

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

    public static final class Builder {
        private GetCartProductOptionsPlanPlainArgs $;

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

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

        /**
         * @param cartId Cart identifier
         * 
         * @return builder
         * 
         */
        public Builder cartId(String cartId) {
            $.cartId = cartId;
            return this;
        }

        /**
         * @param catalogName Catalog name
         * 
         * @return builder
         * 
         */
        public Builder catalogName(@Nullable String catalogName) {
            $.catalogName = catalogName;
            return this;
        }

        /**
         * @param optionsPlanCode options plan code.
         * 
         * @return builder
         * 
         */
        public Builder optionsPlanCode(String optionsPlanCode) {
            $.optionsPlanCode = optionsPlanCode;
            return this;
        }

        /**
         * @param planCode Product offer identifier
         * 
         * @return builder
         * 
         */
        public Builder planCode(String planCode) {
            $.planCode = planCode;
            return this;
        }

        /**
         * @param priceCapacity Capacity of the pricing (type of pricing)
         * 
         * @return builder
         * 
         */
        public Builder priceCapacity(String priceCapacity) {
            $.priceCapacity = priceCapacity;
            return this;
        }

        /**
         * @param product Product
         * 
         * @return builder
         * 
         */
        public Builder product(String product) {
            $.product = product;
            return this;
        }

        public GetCartProductOptionsPlanPlainArgs build() {
            $.cartId = Objects.requireNonNull($.cartId, "expected parameter 'cartId' to be non-null");
            $.optionsPlanCode = Objects.requireNonNull($.optionsPlanCode, "expected parameter 'optionsPlanCode' to be non-null");
            $.planCode = Objects.requireNonNull($.planCode, "expected parameter 'planCode' to be non-null");
            $.priceCapacity = Objects.requireNonNull($.priceCapacity, "expected parameter 'priceCapacity' to be non-null");
            $.product = Objects.requireNonNull($.product, "expected parameter 'product' to be non-null");
            return $;
        }
    }

}
