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

com.pulumi.aws.autoscaling.outputs.GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification 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.autoscaling.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification {
    /**
     * @return ID of the launch template. Conflicts with `launch_template_name`.
     * 
     */
    private @Nullable String launchTemplateId;
    /**
     * @return Name of the launch template. Conflicts with `launch_template_id`.
     * 
     */
    private @Nullable String launchTemplateName;
    private @Nullable String version;

    private GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification() {}
    /**
     * @return ID of the launch template. Conflicts with `launch_template_name`.
     * 
     */
    public Optional launchTemplateId() {
        return Optional.ofNullable(this.launchTemplateId);
    }
    /**
     * @return Name of the launch template. Conflicts with `launch_template_id`.
     * 
     */
    public Optional launchTemplateName() {
        return Optional.ofNullable(this.launchTemplateName);
    }
    public Optional version() {
        return Optional.ofNullable(this.version);
    }

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

    public static Builder builder(GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String launchTemplateId;
        private @Nullable String launchTemplateName;
        private @Nullable String version;
        public Builder() {}
        public Builder(GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.launchTemplateId = defaults.launchTemplateId;
    	      this.launchTemplateName = defaults.launchTemplateName;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder launchTemplateId(@Nullable String launchTemplateId) {

            this.launchTemplateId = launchTemplateId;
            return this;
        }
        @CustomType.Setter
        public Builder launchTemplateName(@Nullable String launchTemplateName) {

            this.launchTemplateName = launchTemplateName;
            return this;
        }
        @CustomType.Setter
        public Builder version(@Nullable String version) {

            this.version = version;
            return this;
        }
        public GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification build() {
            final var _resultValue = new GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification();
            _resultValue.launchTemplateId = launchTemplateId;
            _resultValue.launchTemplateName = launchTemplateName;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy