Class InferenceAccelerator
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.InferenceAccelerator
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InferenceAccelerator.Builder,InferenceAccelerator>
@Generated("software.amazon.awssdk:codegen") public final class InferenceAccelerator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InferenceAccelerator.Builder,InferenceAccelerator>
Details on an Elastic Inference accelerator. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInferenceAccelerator.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InferenceAccelerator.Builderbuilder()StringdeviceName()The Elastic Inference accelerator device name.StringdeviceType()The Elastic Inference accelerator type to use.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends InferenceAccelerator.Builder>serializableBuilderClass()InferenceAccelerator.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deviceName
public final String deviceName()
The Elastic Inference accelerator device name. The
deviceNamemust also be referenced in a container definition as a ResourceRequirement.- Returns:
- The Elastic Inference accelerator device name. The
deviceNamemust also be referenced in a container definition as a ResourceRequirement.
-
deviceType
public final String deviceType()
The Elastic Inference accelerator type to use.
- Returns:
- The Elastic Inference accelerator type to use.
-
toBuilder
public InferenceAccelerator.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InferenceAccelerator.Builder,InferenceAccelerator>
-
builder
public static InferenceAccelerator.Builder builder()
-
serializableBuilderClass
public static Class<? extends InferenceAccelerator.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-