com.pulumi.aws.ec2.inputs.LaunchTemplateElasticGpuSpecificationArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class LaunchTemplateElasticGpuSpecificationArgs extends com.pulumi.resources.ResourceArgs {
public static final LaunchTemplateElasticGpuSpecificationArgs Empty = new LaunchTemplateElasticGpuSpecificationArgs();
/**
* The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-graphics.html#elastic-graphics-basics)
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-graphics.html#elastic-graphics-basics)
*
*/
public Output type() {
return this.type;
}
private LaunchTemplateElasticGpuSpecificationArgs() {}
private LaunchTemplateElasticGpuSpecificationArgs(LaunchTemplateElasticGpuSpecificationArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LaunchTemplateElasticGpuSpecificationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private LaunchTemplateElasticGpuSpecificationArgs $;
public Builder() {
$ = new LaunchTemplateElasticGpuSpecificationArgs();
}
public Builder(LaunchTemplateElasticGpuSpecificationArgs defaults) {
$ = new LaunchTemplateElasticGpuSpecificationArgs(Objects.requireNonNull(defaults));
}
/**
* @param type The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-graphics.html#elastic-graphics-basics)
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-graphics.html#elastic-graphics-basics)
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public LaunchTemplateElasticGpuSpecificationArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("LaunchTemplateElasticGpuSpecificationArgs", "type");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy