public TargetPlatform withArch(String arch) {
        setArch(arch);
        return this;
    }
<p>
Specifies a target platform architecture.
</p>
<ul>
<li>
<p>
<code>X86_64</code>: 64-bit version of the x86 instruction set.
</p>
</li>
<li>
<p>
<code>X86</code>: 32-bit version of the x86 instruction set.
</p>
</li>
<li>
<p>
<code>ARM64</code>: ARMv8 64-bit CPU.
</p>
</li>
<li>
<p>
<code>ARM_EABIHF</code>: ARMv7 32-bit, Hard Float.
</p>
</li>
<li>
<p>
<code>ARM_EABI</code>: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
</p>
</li>
</ul>

@param arch
       Specifies a target platform architecture.</p>
       <ul>
       <li>
       <p>
       <code>X86_64</code>: 64-bit version of the x86 instruction set.
       </p>
       </li>
       <li>
       <p>
       <code>X86</code>: 32-bit version of the x86 instruction set.
       </p>
       </li>
       <li>
       <p>
       <code>ARM64</code>: ARMv8 64-bit CPU.
       </p>
       </li>
       <li>
       <p>
       <code>ARM_EABIHF</code>: ARMv7 32-bit, Hard Float.
       </p>
       </li>
       <li>
       <p>
       <code>ARM_EABI</code>: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see TargetPlatformArch
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/TargetPlatform.java