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

com.pulumi.aws.autoscaling.outputs.GetGroupMixedInstancesPolicyLaunchTemplate Maven / Gradle / Ivy

Go to download

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

The 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.aws.autoscaling.outputs.GetGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification;
import com.pulumi.aws.autoscaling.outputs.GetGroupMixedInstancesPolicyLaunchTemplateOverride;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetGroupMixedInstancesPolicyLaunchTemplate {
    /**
     * @return List of overriding launch template specification objects.
     * 
     */
    private List launchTemplateSpecifications;
    /**
     * @return List of properties overriding the same properties in the launch template.
     * 
     */
    private List overrides;

    private GetGroupMixedInstancesPolicyLaunchTemplate() {}
    /**
     * @return List of overriding launch template specification objects.
     * 
     */
    public List launchTemplateSpecifications() {
        return this.launchTemplateSpecifications;
    }
    /**
     * @return List of properties overriding the same properties in the launch template.
     * 
     */
    public List overrides() {
        return this.overrides;
    }

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

    public static Builder builder(GetGroupMixedInstancesPolicyLaunchTemplate defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List launchTemplateSpecifications;
        private List overrides;
        public Builder() {}
        public Builder(GetGroupMixedInstancesPolicyLaunchTemplate defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.launchTemplateSpecifications = defaults.launchTemplateSpecifications;
    	      this.overrides = defaults.overrides;
        }

        @CustomType.Setter
        public Builder launchTemplateSpecifications(List launchTemplateSpecifications) {
            if (launchTemplateSpecifications == null) {
              throw new MissingRequiredPropertyException("GetGroupMixedInstancesPolicyLaunchTemplate", "launchTemplateSpecifications");
            }
            this.launchTemplateSpecifications = launchTemplateSpecifications;
            return this;
        }
        public Builder launchTemplateSpecifications(GetGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification... launchTemplateSpecifications) {
            return launchTemplateSpecifications(List.of(launchTemplateSpecifications));
        }
        @CustomType.Setter
        public Builder overrides(List overrides) {
            if (overrides == null) {
              throw new MissingRequiredPropertyException("GetGroupMixedInstancesPolicyLaunchTemplate", "overrides");
            }
            this.overrides = overrides;
            return this;
        }
        public Builder overrides(GetGroupMixedInstancesPolicyLaunchTemplateOverride... overrides) {
            return overrides(List.of(overrides));
        }
        public GetGroupMixedInstancesPolicyLaunchTemplate build() {
            final var _resultValue = new GetGroupMixedInstancesPolicyLaunchTemplate();
            _resultValue.launchTemplateSpecifications = launchTemplateSpecifications;
            _resultValue.overrides = overrides;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy