code: public OperationFuture<AntiAffinityPolicy> modify(AntiAffinityPolicy policyRef,
          AntiAffinityPolicyConfig modifyConfig) {
  
          client.modifyAntiAffinityPolicy(
              findByRef(policyRef).getId(),
              new AntiAffinityPolicyRequest()
                  .name(modifyConfig.getName())
          );
  
          return new OperationFuture<>(
              policyRef,
              new NoWaitingJobFuture()
          );
      }
docs: Update Anti-affinity policy
  
  @param policyRef policy reference
  @param modifyConfig update policy config
  @return OperationFuture wrapper for AntiAffinityPolicy