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

com.pulumi.azurenative.softwareplan.inputs.GetHybridUseBenefitArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.softwareplan.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;


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

    public static final GetHybridUseBenefitArgs Empty = new GetHybridUseBenefitArgs();

    /**
     * This is a unique identifier for a plan. Should be a guid.
     * 
     */
    @Import(name="planId", required=true)
    private Output planId;

    /**
     * @return This is a unique identifier for a plan. Should be a guid.
     * 
     */
    public Output planId() {
        return this.planId;
    }

    /**
     * The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
     * 
     */
    @Import(name="scope", required=true)
    private Output scope;

    /**
     * @return The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
     * 
     */
    public Output scope() {
        return this.scope;
    }

    private GetHybridUseBenefitArgs() {}

    private GetHybridUseBenefitArgs(GetHybridUseBenefitArgs $) {
        this.planId = $.planId;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private GetHybridUseBenefitArgs $;

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

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

        /**
         * @param planId This is a unique identifier for a plan. Should be a guid.
         * 
         * @return builder
         * 
         */
        public Builder planId(Output planId) {
            $.planId = planId;
            return this;
        }

        /**
         * @param planId This is a unique identifier for a plan. Should be a guid.
         * 
         * @return builder
         * 
         */
        public Builder planId(String planId) {
            return planId(Output.of(planId));
        }

        /**
         * @param scope The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
         * 
         * @return builder
         * 
         */
        public Builder scope(Output scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            return scope(Output.of(scope));
        }

        public GetHybridUseBenefitArgs build() {
            if ($.planId == null) {
                throw new MissingRequiredPropertyException("GetHybridUseBenefitArgs", "planId");
            }
            if ($.scope == null) {
                throw new MissingRequiredPropertyException("GetHybridUseBenefitArgs", "scope");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy