public ImportImageRequest withArchitecture(String architecture) {
        setArchitecture(architecture);
        return this;
    }
<p>
The architecture of the virtual machine.
</p>
<p>
Valid values: <code>i386</code> | <code>x86_64</code>
</p>

@param architecture
       The architecture of the virtual machine.</p>
       <p>
       Valid values: <code>i386</code> | <code>x86_64</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ImportImageRequest.java