public AwsEcrContainerImageDetails withRegistry(String registry) {
        setRegistry(registry);
        return this;
    }
<p>
The registry the Amazon ECR container image belongs to.
</p>

@param registry
       The registry the Amazon ECR container image belongs to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/AwsEcrContainerImageDetails.java