public UpdateLayerRequest withCustomRecipes(Recipes customRecipes) {
        setCustomRecipes(customRecipes);
        return this;
    }
<p>
A <code>LayerCustomRecipes</code> object that specifies the layer's custom recipes.
</p>

@param customRecipes
       A <code>LayerCustomRecipes</code> object that specifies the layer's custom recipes.
@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/UpdateLayerRequest.java