public ValidatePullThroughCacheRuleResult withUpstreamRegistryUrl(String upstreamRegistryUrl) {
        setUpstreamRegistryUrl(upstreamRegistryUrl);
        return this;
    }
<p>
The upstream registry URL associated with the pull through cache rule.
</p>

@param upstreamRegistryUrl
       The upstream registry URL associated with the pull through cache rule.
@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/ValidatePullThroughCacheRuleResult.java