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

com.pulumi.aws.ec2.outputs.GetLaunchTemplateCpuOption 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.ec2.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetLaunchTemplateCpuOption {
    private String amdSevSnp;
    private Integer coreCount;
    private Integer threadsPerCore;

    private GetLaunchTemplateCpuOption() {}
    public String amdSevSnp() {
        return this.amdSevSnp;
    }
    public Integer coreCount() {
        return this.coreCount;
    }
    public Integer threadsPerCore() {
        return this.threadsPerCore;
    }

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

    public static Builder builder(GetLaunchTemplateCpuOption defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String amdSevSnp;
        private Integer coreCount;
        private Integer threadsPerCore;
        public Builder() {}
        public Builder(GetLaunchTemplateCpuOption defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.amdSevSnp = defaults.amdSevSnp;
    	      this.coreCount = defaults.coreCount;
    	      this.threadsPerCore = defaults.threadsPerCore;
        }

        @CustomType.Setter
        public Builder amdSevSnp(String amdSevSnp) {
            if (amdSevSnp == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateCpuOption", "amdSevSnp");
            }
            this.amdSevSnp = amdSevSnp;
            return this;
        }
        @CustomType.Setter
        public Builder coreCount(Integer coreCount) {
            if (coreCount == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateCpuOption", "coreCount");
            }
            this.coreCount = coreCount;
            return this;
        }
        @CustomType.Setter
        public Builder threadsPerCore(Integer threadsPerCore) {
            if (threadsPerCore == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateCpuOption", "threadsPerCore");
            }
            this.threadsPerCore = threadsPerCore;
            return this;
        }
        public GetLaunchTemplateCpuOption build() {
            final var _resultValue = new GetLaunchTemplateCpuOption();
            _resultValue.amdSevSnp = amdSevSnp;
            _resultValue.coreCount = coreCount;
            _resultValue.threadsPerCore = threadsPerCore;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy