@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)Marshalls this structured data using the given  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. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics
 processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the
 gpu-code, trt-ver, and cuda-ver compiler options. If you don't specify an
 accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the
 GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for
 CPU:
 
 mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
 
 mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
 
accelerator - The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia
        graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also
        specify the gpu-code, trt-ver, and cuda-ver compiler options. If
        you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend
        that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the
        following compiler options for CPU: 
        
        mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
        
        mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
        
TargetPlatformAcceleratorpublic String getAccelerator()
 The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics
 processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the
 gpu-code, trt-ver, and cuda-ver compiler options. If you don't specify an
 accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the
 GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for
 CPU:
 
 mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
 
 mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
 
gpu-code, trt-ver, and cuda-ver compiler options. If
         you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend
         that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the
         following compiler options for CPU: 
         
         mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
         
         mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
         
TargetPlatformAcceleratorpublic TargetPlatform withAccelerator(String accelerator)
 The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics
 processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the
 gpu-code, trt-ver, and cuda-ver compiler options. If you don't specify an
 accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the
 GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for
 CPU:
 
 mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
 
 mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
 
accelerator - The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia
        graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also
        specify the gpu-code, trt-ver, and cuda-ver compiler options. If
        you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend
        that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the
        following compiler options for CPU: 
        
        mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
        
        mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
        
TargetPlatformAcceleratorpublic TargetPlatform withAccelerator(TargetPlatformAccelerator accelerator)
 The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics
 processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the
 gpu-code, trt-ver, and cuda-ver compiler options. If you don't specify an
 accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the
 GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for
 CPU:
 
 mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
 
 mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
 
accelerator - The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia
        graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also
        specify the gpu-code, trt-ver, and cuda-ver compiler options. If
        you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend
        that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the
        following compiler options for CPU: 
        
        mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}
        
        mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
        
TargetPlatformAcceleratorpublic String toString()
toString in class ObjectObject.toString()public TargetPlatform clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.