public Boolean isValid() {
        return this.isValid;
    }
<p>
Whether or not the pull through cache rule was validated. If <code>true</code>, Amazon ECR was able to reach the
upstream registry and authentication was successful. If <code>false</code>, there was an issue and validation
failed. The <code>failure</code> reason indicates the cause.
</p>

@return Whether or not the pull through cache rule was validated. If <code>true</code>, Amazon ECR was able to
        reach the upstream registry and authentication was successful. If <code>false</code>, there was an issue
        and validation failed. The <code>failure</code> reason indicates the cause.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/ValidatePullThroughCacheRuleResult.java