public CreateStackRequest withUseCustomCookbooks(Boolean useCustomCookbooks) {
        setUseCustomCookbooks(useCustomCookbooks);
        return this;
    }
<p>
Whether the stack uses custom cookbooks.
</p>

@param useCustomCookbooks
       Whether the stack uses custom cookbooks.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateStackRequest.java