@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetPlatform extends Object implements Serializable, Cloneable, StructuredPojo
The platform on which a model runs on an AWS IoT Greengrass core device.
| Constructor and Description |
|---|
TargetPlatform() |
| Modifier and Type | Method and Description |
|---|---|
TargetPlatform |
clone() |
boolean |
equals(Object obj) |
String |
getAccelerator()
The target accelerator for the model.
|
String |
getArch()
The target architecture for the model.
|
String |
getOs()
The target operating system for the model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccelerator(String accelerator)
The target accelerator for the model.
|
void |
setArch(String arch)
The target architecture for the model.
|
void |
setOs(String os)
The target operating system for the model.
|
String |
toString()
Returns a string representation of this object.
|
TargetPlatform |
withAccelerator(String accelerator)
The target accelerator for the model.
|
TargetPlatform |
withAccelerator(TargetPlatformAccelerator accelerator)
The target accelerator for the model.
|
TargetPlatform |
withArch(String arch)
The target architecture for the model.
|
TargetPlatform |
withArch(TargetPlatformArch arch)
The target architecture for the model.
|
TargetPlatform |
withOs(String os)
The target operating system for the model.
|
TargetPlatform |
withOs(TargetPlatformOs os)
The target operating system for the model.
|
public void setOs(String os)
The target operating system for the model. Linux is the only operating system that is currently supported.
os - The target operating system for the model. Linux is the only operating system that is currently supported.TargetPlatformOspublic String getOs()
The target operating system for the model. Linux is the only operating system that is currently supported.
TargetPlatformOspublic TargetPlatform withOs(String os)
The target operating system for the model. Linux is the only operating system that is currently supported.
os - The target operating system for the model. Linux is the only operating system that is currently supported.TargetPlatformOspublic TargetPlatform withOs(TargetPlatformOs os)
The target operating system for the model. Linux is the only operating system that is currently supported.
os - The target operating system for the model. Linux is the only operating system that is currently supported.TargetPlatformOspublic void setArch(String 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).
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).TargetPlatformArchpublic String getArch()
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).
TargetPlatformArchpublic TargetPlatform withArch(String 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).
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).TargetPlatformArchpublic TargetPlatform withArch(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).
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).TargetPlatformArchpublic void setAccelerator(String 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.
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.TargetPlatformAcceleratorpublic String getAccelerator()
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.
gpu-code, trt-ver, and
cuda-ver compiler options.TargetPlatformAcceleratorpublic TargetPlatform withAccelerator(String 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.
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.TargetPlatformAcceleratorpublic TargetPlatform withAccelerator(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.
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.TargetPlatformAcceleratorpublic String toString()
toString in class ObjectObject.toString()public TargetPlatform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.