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

com.pulumi.vsphere.inputs.GetLicenseArgs Maven / Gradle / Ivy

There is a newer version: 4.13.0-alpha.1732775311
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.vsphere.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 GetLicenseArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetLicenseArgs Empty = new GetLicenseArgs();

    /**
     * The license key.
     * 
     */
    @Import(name="licenseKey", required=true)
    private Output licenseKey;

    /**
     * @return The license key.
     * 
     */
    public Output licenseKey() {
        return this.licenseKey;
    }

    private GetLicenseArgs() {}

    private GetLicenseArgs(GetLicenseArgs $) {
        this.licenseKey = $.licenseKey;
    }

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

    public static final class Builder {
        private GetLicenseArgs $;

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

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

        /**
         * @param licenseKey The license key.
         * 
         * @return builder
         * 
         */
        public Builder licenseKey(Output licenseKey) {
            $.licenseKey = licenseKey;
            return this;
        }

        /**
         * @param licenseKey The license key.
         * 
         * @return builder
         * 
         */
        public Builder licenseKey(String licenseKey) {
            return licenseKey(Output.of(licenseKey));
        }

        public GetLicenseArgs build() {
            if ($.licenseKey == null) {
                throw new MissingRequiredPropertyException("GetLicenseArgs", "licenseKey");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy