sdk/java/src/main/java/com/pulumi/ovh/Order/inputs/GetCartProductArgs.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.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final GetCartProductArgs Empty = new GetCartProductArgs();

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

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

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

    /**
     * @return product
     * 
     */
    public Output<String> product() {
        return this.product;
    }

    private GetCartProductArgs() {}

    private GetCartProductArgs(GetCartProductArgs $) {
        this.cartId = $.cartId;
        this.product = $.product;
    }

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

    public static final class Builder {
        private GetCartProductArgs $;

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

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

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

        /**
         * @param cartId Cart identifier
         * 
         * @return builder
         * 
         */
        public Builder cartId(String cartId) {
            return cartId(Output.of(cartId));
        }

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

        /**
         * @param product product
         * 
         * @return builder
         * 
         */
        public Builder product(String product) {
            return product(Output.of(product));
        }

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

}
