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

com.pulumi.aws.ec2.inputs.FleetLaunchTemplateConfigArgs 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.aws.ec2.inputs.FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs;
import com.pulumi.aws.ec2.inputs.FleetLaunchTemplateConfigOverrideArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class FleetLaunchTemplateConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final FleetLaunchTemplateConfigArgs Empty = new FleetLaunchTemplateConfigArgs();

    /**
     * Nested argument containing EC2 Launch Template to use. Defined below.
     * 
     */
    @Import(name="launchTemplateSpecification")
    private @Nullable Output launchTemplateSpecification;

    /**
     * @return Nested argument containing EC2 Launch Template to use. Defined below.
     * 
     */
    public Optional> launchTemplateSpecification() {
        return Optional.ofNullable(this.launchTemplateSpecification);
    }

    /**
     * Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
     * 
     */
    @Import(name="overrides")
    private @Nullable Output> overrides;

    /**
     * @return Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
     * 
     */
    public Optional>> overrides() {
        return Optional.ofNullable(this.overrides);
    }

    private FleetLaunchTemplateConfigArgs() {}

    private FleetLaunchTemplateConfigArgs(FleetLaunchTemplateConfigArgs $) {
        this.launchTemplateSpecification = $.launchTemplateSpecification;
        this.overrides = $.overrides;
    }

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

    public static final class Builder {
        private FleetLaunchTemplateConfigArgs $;

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

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

        /**
         * @param launchTemplateSpecification Nested argument containing EC2 Launch Template to use. Defined below.
         * 
         * @return builder
         * 
         */
        public Builder launchTemplateSpecification(@Nullable Output launchTemplateSpecification) {
            $.launchTemplateSpecification = launchTemplateSpecification;
            return this;
        }

        /**
         * @param launchTemplateSpecification Nested argument containing EC2 Launch Template to use. Defined below.
         * 
         * @return builder
         * 
         */
        public Builder launchTemplateSpecification(FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs launchTemplateSpecification) {
            return launchTemplateSpecification(Output.of(launchTemplateSpecification));
        }

        /**
         * @param overrides Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
         * 
         * @return builder
         * 
         */
        public Builder overrides(@Nullable Output> overrides) {
            $.overrides = overrides;
            return this;
        }

        /**
         * @param overrides Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
         * 
         * @return builder
         * 
         */
        public Builder overrides(List overrides) {
            return overrides(Output.of(overrides));
        }

        /**
         * @param overrides Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.
         * 
         * @return builder
         * 
         */
        public Builder overrides(FleetLaunchTemplateConfigOverrideArgs... overrides) {
            return overrides(List.of(overrides));
        }

        public FleetLaunchTemplateConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy