public ModifyHostsRequest withAutoPlacement(String autoPlacement) {
        setAutoPlacement(autoPlacement);
        return this;
    }
<p>
Specify whether to enable or disable auto-placement.
</p>

@param autoPlacement
       Specify whether to enable or disable auto-placement.
@return Returns a reference to this object so that method calls can be chained together.
@see AutoPlacement
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyHostsRequest.java