public SnapshotDiskContainer withFormat(String format) {
        setFormat(format);
        return this;
    }
<p>
The format of the disk image being imported.
</p>
<p>
Valid values: <code>VHD</code> | <code>VMDK</code> | <code>RAW</code>
</p>

@param format
       The format of the disk image being imported.</p>
       <p>
       Valid values: <code>VHD</code> | <code>VMDK</code> | <code>RAW</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/SnapshotDiskContainer.java