com.pulumi.aws.ec2.inputs.LaunchTemplateElasticInferenceAcceleratorArgs 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 LaunchTemplateElasticInferenceAcceleratorArgs extends com.pulumi.resources.ResourceArgs {
public static final LaunchTemplateElasticInferenceAcceleratorArgs Empty = new LaunchTemplateElasticInferenceAcceleratorArgs();
/**
* Accelerator type.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return Accelerator type.
*
*/
public Output type() {
return this.type;
}
private LaunchTemplateElasticInferenceAcceleratorArgs() {}
private LaunchTemplateElasticInferenceAcceleratorArgs(LaunchTemplateElasticInferenceAcceleratorArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LaunchTemplateElasticInferenceAcceleratorArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private LaunchTemplateElasticInferenceAcceleratorArgs $;
public Builder() {
$ = new LaunchTemplateElasticInferenceAcceleratorArgs();
}
public Builder(LaunchTemplateElasticInferenceAcceleratorArgs defaults) {
$ = new LaunchTemplateElasticInferenceAcceleratorArgs(Objects.requireNonNull(defaults));
}
/**
* @param type Accelerator type.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type Accelerator type.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public LaunchTemplateElasticInferenceAcceleratorArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("LaunchTemplateElasticInferenceAcceleratorArgs", "type");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy