
com.pulumi.azurenative.awsconnector.outputs.InferenceAcceleratorResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.awsconnector.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class InferenceAcceleratorResponse {
/**
* @return The Elastic Inference accelerator device name. The ``deviceName`` must also be referenced in a container definition as a [ResourceRequirement](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html).
*
*/
private @Nullable String deviceName;
/**
* @return The Elastic Inference accelerator type to use.
*
*/
private @Nullable String deviceType;
private InferenceAcceleratorResponse() {}
/**
* @return The Elastic Inference accelerator device name. The ``deviceName`` must also be referenced in a container definition as a [ResourceRequirement](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html).
*
*/
public Optional deviceName() {
return Optional.ofNullable(this.deviceName);
}
/**
* @return The Elastic Inference accelerator type to use.
*
*/
public Optional deviceType() {
return Optional.ofNullable(this.deviceType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InferenceAcceleratorResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String deviceName;
private @Nullable String deviceType;
public Builder() {}
public Builder(InferenceAcceleratorResponse defaults) {
Objects.requireNonNull(defaults);
this.deviceName = defaults.deviceName;
this.deviceType = defaults.deviceType;
}
@CustomType.Setter
public Builder deviceName(@Nullable String deviceName) {
this.deviceName = deviceName;
return this;
}
@CustomType.Setter
public Builder deviceType(@Nullable String deviceType) {
this.deviceType = deviceType;
return this;
}
public InferenceAcceleratorResponse build() {
final var _resultValue = new InferenceAcceleratorResponse();
_resultValue.deviceName = deviceName;
_resultValue.deviceType = deviceType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy