public void setToPermissionArn(String toPermissionArn) {
        this.toPermissionArn = toPermissionArn;
    }
<p>
The ARN of the managed permission that this background task is associating with the resource shares in place of
the managed permission and version specified in <code>fromPermissionArn</code> and
<code>fromPermissionVersion</code>.
</p>

@param toPermissionArn
       The ARN of the managed permission that this background task is associating with the resource shares in
       place of the managed permission and version specified in <code>fromPermissionArn</code> and
       <code>fromPermissionVersion</code>.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/ReplacePermissionAssociationsWork.java