@Generated(value="software.amazon.awssdk:codegen") public final class TargetPlatform extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetPlatform.Builder,TargetPlatform>
The platform on which a model runs on an AWS IoT Greengrass core device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetPlatform.Builder |
| Modifier and Type | Method and Description |
|---|---|
TargetPlatformAccelerator |
accelerator()
The target accelerator for the model.
|
String |
acceleratorAsString()
The target accelerator for the model.
|
TargetPlatformArch |
arch()
The target architecture for the model.
|
String |
archAsString()
The target architecture for the model.
|
static TargetPlatform.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
TargetPlatformOs |
os()
The target operating system for the model.
|
String |
osAsString()
The target operating system for the model.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetPlatform.Builder> |
serializableBuilderClass() |
TargetPlatform.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TargetPlatformOs os()
The target operating system for the model. Linux is the only operating system that is currently supported.
If the service returns an enum value that is not available in the current SDK version, os will return
TargetPlatformOs.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
osAsString().
TargetPlatformOspublic final String osAsString()
The target operating system for the model. Linux is the only operating system that is currently supported.
If the service returns an enum value that is not available in the current SDK version, os will return
TargetPlatformOs.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
osAsString().
TargetPlatformOspublic final TargetPlatformArch arch()
The target architecture for the model. The currently supported architectures are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).
If the service returns an enum value that is not available in the current SDK version, arch will return
TargetPlatformArch.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
archAsString().
TargetPlatformArchpublic final String archAsString()
The target architecture for the model. The currently supported architectures are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).
If the service returns an enum value that is not available in the current SDK version, arch will return
TargetPlatformArch.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
archAsString().
TargetPlatformArchpublic final TargetPlatformAccelerator accelerator()
The target accelerator for the model. NVIDIA (Nvidia graphics processing unit) is the only accelerator that is
currently supported. You must also specify the gpu-code, trt-ver, and
cuda-ver compiler options.
If the service returns an enum value that is not available in the current SDK version, accelerator will
return TargetPlatformAccelerator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from acceleratorAsString().
gpu-code, trt-ver, and
cuda-ver compiler options.TargetPlatformAcceleratorpublic final String acceleratorAsString()
The target accelerator for the model. NVIDIA (Nvidia graphics processing unit) is the only accelerator that is
currently supported. You must also specify the gpu-code, trt-ver, and
cuda-ver compiler options.
If the service returns an enum value that is not available in the current SDK version, accelerator will
return TargetPlatformAccelerator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from acceleratorAsString().
gpu-code, trt-ver, and
cuda-ver compiler options.TargetPlatformAcceleratorpublic TargetPlatform.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetPlatform.Builder,TargetPlatform>public static TargetPlatform.Builder builder()
public static Class<? extends TargetPlatform.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.