public ContainerRecipe withComponents(java.util.Collection<ComponentConfiguration> components) {
        setComponents(components);
        return this;
    }
<p>
Build and test components that are included in the container recipe. Recipes require a minimum of one build
component, and can have a maximum of 20 build and test components in any combination.
</p>

@param components
       Build and test components that are included in the container recipe. Recipes require a minimum of one
       build component, and can have a maximum of 20 build and test components in any combination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ContainerRecipe.java