
com.pulumi.aws.imagebuilder.outputs.GetDistributionConfigurationDistributionLaunchTemplateConfiguration Maven / Gradle / Ivy
// *** 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.imagebuilder.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetDistributionConfigurationDistributionLaunchTemplateConfiguration {
/**
* @return The account ID that this configuration applies to.
*
*/
private String accountId;
/**
* @return Whether the specified Amazon EC2 launch template is set as the default launch template.
*
*/
private Boolean default_;
/**
* @return ID of the Amazon EC2 launch template.
*
*/
private String launchTemplateId;
private GetDistributionConfigurationDistributionLaunchTemplateConfiguration() {}
/**
* @return The account ID that this configuration applies to.
*
*/
public String accountId() {
return this.accountId;
}
/**
* @return Whether the specified Amazon EC2 launch template is set as the default launch template.
*
*/
public Boolean default_() {
return this.default_;
}
/**
* @return ID of the Amazon EC2 launch template.
*
*/
public String launchTemplateId() {
return this.launchTemplateId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDistributionConfigurationDistributionLaunchTemplateConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accountId;
private Boolean default_;
private String launchTemplateId;
public Builder() {}
public Builder(GetDistributionConfigurationDistributionLaunchTemplateConfiguration defaults) {
Objects.requireNonNull(defaults);
this.accountId = defaults.accountId;
this.default_ = defaults.default_;
this.launchTemplateId = defaults.launchTemplateId;
}
@CustomType.Setter
public Builder accountId(String accountId) {
if (accountId == null) {
throw new MissingRequiredPropertyException("GetDistributionConfigurationDistributionLaunchTemplateConfiguration", "accountId");
}
this.accountId = accountId;
return this;
}
@CustomType.Setter("default")
public Builder default_(Boolean default_) {
if (default_ == null) {
throw new MissingRequiredPropertyException("GetDistributionConfigurationDistributionLaunchTemplateConfiguration", "default_");
}
this.default_ = default_;
return this;
}
@CustomType.Setter
public Builder launchTemplateId(String launchTemplateId) {
if (launchTemplateId == null) {
throw new MissingRequiredPropertyException("GetDistributionConfigurationDistributionLaunchTemplateConfiguration", "launchTemplateId");
}
this.launchTemplateId = launchTemplateId;
return this;
}
public GetDistributionConfigurationDistributionLaunchTemplateConfiguration build() {
final var _resultValue = new GetDistributionConfigurationDistributionLaunchTemplateConfiguration();
_resultValue.accountId = accountId;
_resultValue.default_ = default_;
_resultValue.launchTemplateId = launchTemplateId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy