com.pulumi.aws.ec2.outputs.LaunchTemplateElasticInferenceAccelerator 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.String;
import java.util.Objects;
@CustomType
public final class LaunchTemplateElasticInferenceAccelerator {
/**
* @return Accelerator type.
*
*/
private String type;
private LaunchTemplateElasticInferenceAccelerator() {}
/**
* @return Accelerator type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LaunchTemplateElasticInferenceAccelerator defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String type;
public Builder() {}
public Builder(LaunchTemplateElasticInferenceAccelerator defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("LaunchTemplateElasticInferenceAccelerator", "type");
}
this.type = type;
return this;
}
public LaunchTemplateElasticInferenceAccelerator build() {
final var _resultValue = new LaunchTemplateElasticInferenceAccelerator();
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy