// *** 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 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) {
            this.amdSevSnp = Objects.requireNonNull(amdSevSnp);
            return this;
        }
        @CustomType.Setter
        public Builder coreCount(Integer coreCount) {
            this.coreCount = Objects.requireNonNull(coreCount);
            return this;
        }
        @CustomType.Setter
        public Builder threadsPerCore(Integer threadsPerCore) {
            this.threadsPerCore = Objects.requireNonNull(threadsPerCore);
            return this;
        }
        public GetLaunchTemplateCpuOption build() {
            final var o = new GetLaunchTemplateCpuOption();
            o.amdSevSnp = amdSevSnp;
            o.coreCount = coreCount;
            o.threadsPerCore = threadsPerCore;
            return o;
        }
    }
}
