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

com.pulumi.azurenative.edgeorder.inputs.GetOrderItemArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.edgeorder.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 GetOrderItemArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetOrderItemArgs Empty = new GetOrderItemArgs();

    /**
     * $expand is supported on parent device details, device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Parent Device Details for order item provides details on the devices of the product, Device Details for order item provides details on the devices of the child configurations of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.
     * 
     */
    @Import(name="expand")
    private @Nullable Output expand;

    /**
     * @return $expand is supported on parent device details, device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Parent Device Details for order item provides details on the devices of the product, Device Details for order item provides details on the devices of the child configurations of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.
     * 
     */
    public Optional> expand() {
        return Optional.ofNullable(this.expand);
    }

    /**
     * The name of the order item.
     * 
     */
    @Import(name="orderItemName", required=true)
    private Output orderItemName;

    /**
     * @return The name of the order item.
     * 
     */
    public Output orderItemName() {
        return this.orderItemName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetOrderItemArgs() {}

    private GetOrderItemArgs(GetOrderItemArgs $) {
        this.expand = $.expand;
        this.orderItemName = $.orderItemName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetOrderItemArgs $;

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

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

        /**
         * @param expand $expand is supported on parent device details, device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Parent Device Details for order item provides details on the devices of the product, Device Details for order item provides details on the devices of the child configurations of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.
         * 
         * @return builder
         * 
         */
        public Builder expand(@Nullable Output expand) {
            $.expand = expand;
            return this;
        }

        /**
         * @param expand $expand is supported on parent device details, device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Parent Device Details for order item provides details on the devices of the product, Device Details for order item provides details on the devices of the child configurations of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.
         * 
         * @return builder
         * 
         */
        public Builder expand(String expand) {
            return expand(Output.of(expand));
        }

        /**
         * @param orderItemName The name of the order item.
         * 
         * @return builder
         * 
         */
        public Builder orderItemName(Output orderItemName) {
            $.orderItemName = orderItemName;
            return this;
        }

        /**
         * @param orderItemName The name of the order item.
         * 
         * @return builder
         * 
         */
        public Builder orderItemName(String orderItemName) {
            return orderItemName(Output.of(orderItemName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetOrderItemArgs build() {
            if ($.orderItemName == null) {
                throw new MissingRequiredPropertyException("GetOrderItemArgs", "orderItemName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetOrderItemArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy