public RegisterImageRequest withArchitecture(ArchitectureValues architecture) {
        this.architecture = architecture.toString();
        return this;
    }
<p>
The architecture of the AMI.
</p>
<p>
Default: For Amazon EBS-backed AMIs, <code>i386</code>. For instance store-backed AMIs, the architecture
specified in the manifest file.
</p>

@param architecture
       The architecture of the AMI.</p>
       <p>
       Default: For Amazon EBS-backed AMIs, <code>i386</code>. For instance store-backed AMIs, the architecture
       specified in the manifest file.
@return Returns a reference to this object so that method calls can be chained together.
@see ArchitectureValues
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java