public ContainerRecipe withTargetRepository(TargetContainerRepository targetRepository) {
        setTargetRepository(targetRepository);
        return this;
    }
<p>
The destination repository for the container image.
</p>

@param targetRepository
       The destination repository for the container image.
@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