Class LaunchTemplateCpuOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateCpuOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateCpuOptions>
- Enclosing interface:
- LaunchTemplateCpuOptions
@Stability(Stable) public static final class LaunchTemplateCpuOptions.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateCpuOptions>
A builder forLaunchTemplateCpuOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchTemplateCpuOptions.BuilderamdSevSnp(String amdSevSnp)Sets the value ofLaunchTemplateCpuOptions.getAmdSevSnp()LaunchTemplateCpuOptionsbuild()Builds the configured instance.LaunchTemplateCpuOptions.BuildercoreCount(Number coreCount)Sets the value ofLaunchTemplateCpuOptions.getCoreCount()LaunchTemplateCpuOptions.BuilderthreadsPerCore(Number threadsPerCore)Sets the value ofLaunchTemplateCpuOptions.getThreadsPerCore()
-
-
-
Method Detail
-
amdSevSnp
@Stability(Stable) public LaunchTemplateCpuOptions.Builder amdSevSnp(String amdSevSnp)
Sets the value ofLaunchTemplateCpuOptions.getAmdSevSnp()- Parameters:
amdSevSnp- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#amd_sev_snp LaunchTemplate#amd_sev_snp}.- Returns:
this
-
coreCount
@Stability(Stable) public LaunchTemplateCpuOptions.Builder coreCount(Number coreCount)
Sets the value ofLaunchTemplateCpuOptions.getCoreCount()- Parameters:
coreCount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#core_count LaunchTemplate#core_count}.- Returns:
this
-
threadsPerCore
@Stability(Stable) public LaunchTemplateCpuOptions.Builder threadsPerCore(Number threadsPerCore)
Sets the value ofLaunchTemplateCpuOptions.getThreadsPerCore()- Parameters:
threadsPerCore- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#threads_per_core LaunchTemplate#threads_per_core}.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateCpuOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateCpuOptions>- Returns:
- a new instance of
LaunchTemplateCpuOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-