public ResourcePolicy getPolicy() {
        return this.policy;
    }
<p>
The returned resource policy.
</p>

@return The returned resource policy.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/GetRepositoryPermissionsPolicyResult.java