Class InferenceAcceleratorOverride
java.lang.Object
software.amazon.awssdk.services.ecs.model.InferenceAcceleratorOverride
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InferenceAcceleratorOverride.Builder,InferenceAcceleratorOverride>
@Generated("software.amazon.awssdk:codegen")
public final class InferenceAcceleratorOverride
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<InferenceAcceleratorOverride.Builder,InferenceAcceleratorOverride>
Details on an Elastic Inference accelerator task override. This parameter is used to override the Elastic Inference accelerator specified in the task definition. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Elastic Inference accelerator device name to override for the task.final StringThe Elastic Inference accelerator type to use.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends InferenceAcceleratorOverride.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
deviceName
The Elastic Inference accelerator device name to override for the task. This parameter must match a
deviceNamespecified in the task definition.- Returns:
- The Elastic Inference accelerator device name to override for the task. This parameter must match a
deviceNamespecified in the task definition.
-
deviceType
The Elastic Inference accelerator type to use.
- Returns:
- The Elastic Inference accelerator type to use.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InferenceAcceleratorOverride.Builder,InferenceAcceleratorOverride>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-