com.pulumi.aws.autoscaling.outputs.GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification {
/**
* @return ID of the launch template.
*
*/
private String launchTemplateId;
/**
* @return Name of the launch template.
*
*/
private String launchTemplateName;
/**
* @return Template version.
*
*/
private String version;
private GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification() {}
/**
* @return ID of the launch template.
*
*/
public String launchTemplateId() {
return this.launchTemplateId;
}
/**
* @return Name of the launch template.
*
*/
public String launchTemplateName() {
return this.launchTemplateName;
}
/**
* @return Template version.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String launchTemplateId;
private String launchTemplateName;
private String version;
public Builder() {}
public Builder(GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification defaults) {
Objects.requireNonNull(defaults);
this.launchTemplateId = defaults.launchTemplateId;
this.launchTemplateName = defaults.launchTemplateName;
this.version = defaults.version;
}
@CustomType.Setter
public Builder launchTemplateId(String launchTemplateId) {
if (launchTemplateId == null) {
throw new MissingRequiredPropertyException("GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification", "launchTemplateId");
}
this.launchTemplateId = launchTemplateId;
return this;
}
@CustomType.Setter
public Builder launchTemplateName(String launchTemplateName) {
if (launchTemplateName == null) {
throw new MissingRequiredPropertyException("GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification", "launchTemplateName");
}
this.launchTemplateName = launchTemplateName;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification", "version");
}
this.version = version;
return this;
}
public GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification build() {
final var _resultValue = new GetGroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification();
_resultValue.launchTemplateId = launchTemplateId;
_resultValue.launchTemplateName = launchTemplateName;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy