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

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

// *** 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.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 GetOrderItemPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetOrderItemPlainArgs Empty = new GetOrderItemPlainArgs();

    /**
     * $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 String 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 String orderItemName;

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

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

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

    private GetOrderItemPlainArgs() {}

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

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

    public static final class Builder {
        private GetOrderItemPlainArgs $;

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

        public Builder(GetOrderItemPlainArgs defaults) {
            $ = new GetOrderItemPlainArgs(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 String expand) {
            $.expand = expand;
            return this;
        }

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy