public void setPolicyRevision(String policyRevision) {
        this.policyRevision = policyRevision;
    }
<p>
Sets the revision of the resource policy that specifies permissions to access the repository. This revision is
used for optimistic locking, which prevents others from overwriting your changes to the repository's resource
policy.
</p>

@param policyRevision
       Sets the revision of the resource policy that specifies permissions to access the repository. This
       revision is used for optimistic locking, which prevents others from overwriting your changes to the
       repository's resource policy.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/PutRepositoryPermissionsPolicyRequest.java