com.pulumi.aws.ec2.outputs.GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus 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.ec2.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;
@CustomType
public final class GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus {
private Double max;
private Double min;
private GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus() {}
public Double max() {
return this.max;
}
public Double min() {
return this.min;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double max;
private Double min;
public Builder() {}
public Builder(GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus defaults) {
Objects.requireNonNull(defaults);
this.max = defaults.max;
this.min = defaults.min;
}
@CustomType.Setter
public Builder max(Double max) {
if (max == null) {
throw new MissingRequiredPropertyException("GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus", "max");
}
this.max = max;
return this;
}
@CustomType.Setter
public Builder min(Double min) {
if (min == null) {
throw new MissingRequiredPropertyException("GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus", "min");
}
this.min = min;
return this;
}
public GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus build() {
final var _resultValue = new GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus();
_resultValue.max = max;
_resultValue.min = min;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy