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

com.pulumi.aws.ec2.inputs.LaunchTemplateLicenseSpecificationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.ec2.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 LaunchTemplateLicenseSpecificationArgs extends com.pulumi.resources.ResourceArgs {

    public static final LaunchTemplateLicenseSpecificationArgs Empty = new LaunchTemplateLicenseSpecificationArgs();

    /**
     * ARN of the license configuration.
     * 
     */
    @Import(name="licenseConfigurationArn", required=true)
    private Output licenseConfigurationArn;

    /**
     * @return ARN of the license configuration.
     * 
     */
    public Output licenseConfigurationArn() {
        return this.licenseConfigurationArn;
    }

    private LaunchTemplateLicenseSpecificationArgs() {}

    private LaunchTemplateLicenseSpecificationArgs(LaunchTemplateLicenseSpecificationArgs $) {
        this.licenseConfigurationArn = $.licenseConfigurationArn;
    }

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

    public static final class Builder {
        private LaunchTemplateLicenseSpecificationArgs $;

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

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

        /**
         * @param licenseConfigurationArn ARN of the license configuration.
         * 
         * @return builder
         * 
         */
        public Builder licenseConfigurationArn(Output licenseConfigurationArn) {
            $.licenseConfigurationArn = licenseConfigurationArn;
            return this;
        }

        /**
         * @param licenseConfigurationArn ARN of the license configuration.
         * 
         * @return builder
         * 
         */
        public Builder licenseConfigurationArn(String licenseConfigurationArn) {
            return licenseConfigurationArn(Output.of(licenseConfigurationArn));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy